GetDistance3D
This method 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( IPosition80 From, IPosition80 To) |
C++ |
|
HRESULT GetDistance3D( IPosition80 * From, IPosition80 * To, double * Dist ) |
Parameters
From
An IPosition80 representing the position of the first coordinate.
To
An IPosition80 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.