This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IM > IMensuration3D Interface > IMensuration3D.GetCentroid3D Method (ArcObjects .NET 10.4 SDK) |
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