Returns an IPosition66 object that is converted to height relative to terrain (ATC_TERRAIN_RELATIVE).
JavaScript |
|
ToRelative( Accuracy) |
C# |
|
IPosition66 ToRelative( [AccuracyLevel Accuracy = AccuracyLevel.ACCURACY_NORMAL]) |
C++ |
|
HRESULT ToRelative( AccuracyLevel Accuracy, IPosition66** pVal) |
Parameters
Accuracy
An enum that determines the accuracy level. The following are the possible values:
· ACCURACY_NORMAL = 0,
· ACCURACY_BEST_FROM_MEMORY = 1,
· ACCURACY_FORCE_BEST_RENDERED = 2
Return Value
pVal
An IPosition66 object that has the same x and y coordinates as the caller’s but with altitude property converted to relative to terrain based on the caller x and y.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.