AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual MgCurveSegment* MgCurveString::GetSegment ( INT32  index  )  [virtual]

Gets the curve segment at the specified index. The indexing starts at zero.

.NET Syntax
virtual MgCurveSegment GetSegment(int index);
Java Syntax
virtual MgCurveSegment GetSegment(int index);
PHP Syntax
virtual MgCurveSegment GetSegment(int index);

Parameters:
index (int) An integer specifying the location of the curve segment in the collection.
Returns:
The MgCurveSegment at the specified index.