AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual double MgGeometricEntity::GetArea (  )  [virtual]

Returns the area for this geometric entity or zero for MgLineString and MgPoint objects. Calculates the area for each MgPolygon in an MgMultiPolygon or for each MgCurvePolygon in an MgMultiCurvePolygon and returns the sum of areas.

.NET Syntax
virtual double GetArea();
Java Syntax
virtual double GetArea();
PHP Syntax
virtual double GetArea();

Returns:
The area of this geometric entity.