struct

Kozai::Frames::Geodetic

Inherits Struct < Value < Object

A position on the Earth's surface, or above it.

Constructors

new(latitude : Float64, longitude : Float64, altitude_km : Float64 = 0.0)
Source

Instance methods

altitude_km

Height above the WGS-84 ellipsoid in kilometres.

NOTE: above the ellipsoid, not above mean sea level. The two differ by up to about 100 metres depending on where you are. For pointing an antenna the difference is irrelevant; it is called out because a user entering a GPS altitude is usually entering an ellipsoidal height anyway.

Source
latitude

Latitude in degrees, positive north, in -90..90.

Source
latitude_radians

Latitude in radians.

Source
longitude

Longitude in degrees, positive east, in -180..180.

Source
longitude_radians

Longitude in radians.

Source
to_s(io : IO) : Nil

Same as #inspect(io).

Source