Web API Reference MapGuide Open Source
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.


Comments or suggestions? Send us feedback.