AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual MgGeometry* MgMultiGeometry::GetGeometry ( INT32  index  )  [virtual]

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

.NET Syntax
virtual MgGeometry GetGeometry(int index);
Java Syntax
virtual MgGeometry GetGeometry(int index);
PHP Syntax
virtual MgGeometry GetGeometry(int index);

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