struct

Predict::LatLongAlt

Inherits Struct / Value / Object

Struct containing latitude, longitude and altitude values.

Constructors

new(latitude : Float64, longitude : Float64, altitude : Float64)
Source

Class methods

from_degrees(lat, long, alt)

Creates a LatLongAlt from lat and long measured in degrees (where North and East are positive) and alt in meters above sea level.

Source

Instance methods

altitude

Altitude in kilometers

Source
latitude

Latitude in radians, north positive

Source
longitude

Longitude in radians, east positive

Source
look_at(other : TEME, time, grav_type = GravityConstants::WGS72) : LookAngle

Calculates look angles to an object in TEME coordinate space.

Source
to_teme(time, grav_type = GravityConstants::WGS72) : TEME

Converts latitude and longitude to TEME coordinates at time.

Source