Measures the distance between two coordinates.
JavaScript |
|
DistanceTo( Position) |
C# |
|
double DistanceTo( IPosition66 Position) |
C++ |
|
|
Parameters
Position
An IPosition66 representing the coordinate whose distance from the caller’s coordinates is being measured.
Return Value
pVal
The distance between the two coordinates.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.