struct Predict::LatLongAlt
- Predict::LatLongAlt
- Struct
- Value
- Object
Overview
Struct containing latitude, longitude and altitude values.
Defined in:
predict/coordinates.crConstructors
Class Method Summary
-
.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.
Instance Method Summary
-
#altitude : Float64
Altitude in kilometers
-
#latitude : Float64
Latitude in radians, north positive
-
#longitude : Float64
Longitude in radians, east positive
-
#look_at(other : TEME, time, grav_type = GravityConstants::WGS72) : LookAngle
Calculates look angles to an object in TEME coordinate space.
-
#to_teme(time, grav_type = GravityConstants::WGS72) : TEME
Converts latitude and longitude to TEME coordinates at
time
.
Constructor Detail
Class Method Detail
def self.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.
Instance Method Detail
Calculates look angles to an object in TEME coordinate space.
Converts latitude and longitude to TEME coordinates at time
.