This document is archived and information here might be outdated.  Recommended version.


IMensuration3D.GetDistance3D Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IMensuration3D.GetDistance3D Method

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**

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IMensuration3D Interface