toRelative Method

Returns an SGCoord3D object that is converted to height relative to terrain.

toRelative();

Return Value

An SGCoord3D object that has the same x and y coordinates as the caller but with height property converted to relative to terrain based on the caller’s x and y.

Remarks

If the height type of the caller is already relative to terrain, no conversion is made.