AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

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