MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
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.