AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual INT32 MgGeometry::GetGeometryType (  )  [pure virtual]

Gets the type of this geometry.

.NET Syntax
virtual int GetGeometryType();
Java Syntax
virtual int GetGeometryType();
PHP Syntax
virtual int GetGeometryType();

Returns:
Returns the value defined in MgGeometryType corresponding to this geometry.

Implemented in MgCurvePolygon, MgCurveString, MgLineString, MgMultiCurvePolygon, MgMultiCurveString, MgMultiGeometry, MgMultiLineString, MgMultiPoint, MgMultiPolygon, MgPoint, and MgPolygon.