This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IM > IMensuration3D Interface > IMensuration3D.GetDistance3D Method (ArcObjects .NET 10.5 SDK) |
Computes the 3D actual distance between two points given their 2D map points.
[Visual Basic .NET] Public Sub GetDistance3D ( _ ByVal pFirstPoint As IPoint, _ ByVal pSecondPoint As IPoint, _ ByRef ppDistMeasurement As IDistanceMeasurement _ )
[C#] public void GetDistance3D ( IPoint pFirstPoint, IPoint pSecondPoint, ref IDistanceMeasurement ppDistMeasurement );
[C++]
HRESULT GetDistance3D(
IPoint* pFirstPoint,
IPoint* pSecondPoint,
IDistanceMeasurement** ppDistMeasurement
);
[C++]
Parameters pFirstPoint [in]
pFirstPoint is a parameter of type IPoint pSecondPoint [in]
pSecondPoint is a parameter of type IPoint ppDistMeasurement [out]
ppDistMeasurement is a parameter of type IDistanceMeasurement