Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

Copy
Envelope
GetArea
GetCentroid
GetDimension
GetLength
IsClosed
IsEmpty
IsSimple
IsValid
Transform
virtual INT32 MgGeometricEntity::GetDimension | ( |  | ) | `[pure virtual]`
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. .NET Syntax
`virtual int GetDimension();`
Java Syntax
`virtual int GetDimension();`
PHP Syntax
`virtual int GetDimension();`
Returns: Returns one of the values defined in MgGeometricDimension. Implemented in MgArcSegment, MgCurvePolygon, MgCurveRing, MgCurveString, MgLinearRing, MgLinearSegment, MgLineString, MgMultiCurvePolygon, MgMultiCurveString, MgMultiGeometry, MgMultiLineString, MgMultiPoint, MgMultiPolygon, MgPoint, and MgPolygon.

Comments or suggestions? Send us feedback.