horizonDistance

Indicates the distance to the globe's horizon from a specified height above the globe's ellipsoid. The result of this method is undefined if the height is negative.

Return

the horizon distance in meters

Parameters

height

the viewer's height above the globe's ellipsoid in meters