This methods calculates the actual aerial distance between two points in the 3D World, taking into account the horizontal and vertical distance difference between the points.
JavaScript |
|
GetDistance3D(From, To) |
C# |
|
double GetDistance3D( IPosition61 From, IPosition61 To) |
C++ |
|
HRESULT GetDistance3D( IPosition61 * From, IPosition61 * To, double * Dist ) |
Parameters
From
An IPosition61 representing the position of the first coordinate.
To
An IPosition61 representing the position of the second coordinate.
Return Value
Dist
The calculated distance between the two points.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.