AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

INT32 MgGeometryTypeInfo::GetType ( INT32  index  ) 

Gets the MgGeometryType value which specifies one of the types of FGF geometry (Point, LineString, CurveString, ...).

.NET Syntax
int GetType(int index);
Java Syntax
int GetType(int index);
PHP Syntax
int GetType(int index);

Parameters:
index (int) The index value of the type to get. This must be in the range of zero to MgGeometryTypeInfo::GetCount()-1.