MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends

Creates a curve ring from a collection of curve segments.

Remarks:
The use of this method is illustrated in the MgCurvePolygon example code.
.NET Syntax
virtual MgCurveRing CreateCurveRing(MgCurveSegmentCollection curveSegments);
Java Syntax
virtual MgCurveRing CreateCurveRing(MgCurveSegmentCollection curveSegments);
PHP Syntax
virtual MgCurveRing CreateCurveRing(MgCurveSegmentCollection curveSegments);
Parameters:
curveSegments(MgCurveSegmentCollection) An MgCurveSegmentCollection that specifies the segments of the curve ring. The segments in the collection must form a closed shape. See the example php code for details about the construction of the segments so that the resulting shape is closed.
Returns:
An instance of MgCurveRing.