| Web API Reference | MapGuide Open Source |
Inherited by MgGeometry, and MgGeometryComponent.
Inheritance diagram for MgGeometricEntity:

Public Member Functions | |
| virtual MgGeometricEntity * | Copy ()=0 |
| Returns a copy of this geometric entity. | |
| virtual MgEnvelope * | Envelope () |
| Gets this geometric entity's bounding box. | |
| virtual double | GetArea () |
| 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. | |
| virtual MgPoint * | GetCentroid () |
| Calculates and returns the centroid of this geometric entity. | |
| virtual INT32 | GetDimension ()=0 |
| Gets the geometric dimension of this entity, indicating whether the entity is defined by points, curves, or regions, that is, is zero, one, or two dimensional. | |
| virtual double | GetLength () |
| Calculates and returns the length for this geometric entity. Defaults to zero for MgPoint objects. | |
| virtual bool | IsClosed ()=0 |
| Tests whether the entity's boundary encloses an area. | |
| virtual bool | IsEmpty ()=0 |
| Tests whether this entity is empty or not. | |
| virtual bool | IsSimple () |
| Tests whether this entity is simple or not. Simple entities do not contain any points of self-tangency or self intersection. | |
| virtual bool | IsValid () |
| Tests whether the coordinates given to construct the entity represent a valid Geometry or GeometryComponent. | |
| virtual MgGeometricEntity * | Transform (MgTransform *transform)=0 |
| Returns a transformed copy of this geometric entity. | |