AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual MgPolygon* MgMultiPolygon::GetPolygon ( INT32  index  )  [virtual]

Gets the polygon at the specified index. The indexing starts at zero.

.NET Syntax
virtual MgPolygon GetPolygon(int index);
Java Syntax
virtual MgPolygon GetPolygon(int index);
PHP Syntax
virtual MgPolygon GetPolygon(int index);

Parameters:
index (int) An integer specifying the location of the polygon in the collection.
Returns:
The MgPolygon at the specified index