This document is archived and information here might be outdated. Recommended version. |
Computes the 3D centroid of a 2D polygon with no interior holes..
[Visual Basic .NET] Public Sub GetCentroid3D ( _ ByVal pPolygon As IPolygon, _ ByRef ppPointMeasurement As IPointMeasurement _ )
[C#] public void GetCentroid3D ( IPolygon pPolygon, ref IPointMeasurement ppPointMeasurement );
[C++]
HRESULT GetCentroid3D(
IPolygon* pPolygon,
IPointMeasurement** ppPointMeasurement
);
[C++]
Parameters pPolygon [in]
pPolygon is a parameter of type IPolygon* ppPointMeasurement [out]
ppPointMeasurement is a parameter of type IPointMeasurement**