Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

Copy
Envelope
GetArea
GetCentroid
GetDimension
GetLength
IsClosed
IsEmpty
IsSimple
IsValid
Transform
virtual MgPoint* MgGeometricEntity::GetCentroid | ( |  | ) | `[virtual]`
Calculates and returns the centroid of this geometric entity. .NET Syntax
`virtual MgPoint GetCentroid();`
Java Syntax
`virtual MgPoint GetCentroid();`
PHP Syntax
`virtual MgPoint GetCentroid();`
Returns: A centroid point

Comments or suggestions? Send us feedback.