Web API Reference MapGuide Open Source
virtual void MgCurveSegmentCollection::Insert ( INT32  index,
MgCurveSegment value 
) [virtual]

Inserts the specified curve segment at the specified index within the collection. Items following the insertion point are moved down to accommodate the new item. Throws an invalid argument exception if the specified index is out of range.

.NET Syntax
virtual void Insert(int index, MgCurveSegment value);
Java Syntax
virtual void Insert(int index, MgCurveSegment value);
PHP Syntax
virtual void Insert(int index, MgCurveSegment value);

Parameters:
index (int) Index at which to insert the coordinate.
value (MgCurveSegment) Curve segment to insert.
Exceptions:
MgIndexOutOfRangeException 


Comments or suggestions? Send us feedback.