AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual MgCurvePolygon* MgGeometryFactory::CreateCurvePolygon ( MgCurveRing outerRing,
MgCurveRingCollection innerRings 
) [virtual]

Creates a curve polygon from an outer ring and a collection of inner rings.

.NET Syntax
virtual MgCurvePolygon CreateCurvePolygon(MgCurveRing outerRing, MgCurveRingCollection innerRings);
Java Syntax
virtual MgCurvePolygon CreateCurvePolygon(MgCurveRing outerRing, MgCurveRingCollection innerRings);
PHP Syntax
virtual MgCurvePolygon CreateCurvePolygon(MgCurveRing outerRing, MgCurveRingCollection innerRings);

Parameters:
outerRing (MgCurveRing) An MgCurveRing that specifies the polygons outer boundary.
innerRings (MgCurveRingCollection) An MgCurveRingCollection that specifies the polygons holes. This parameter may be null.
Returns:
An instance of MgCurvePolygon.