struct Predict::TEME

Overview

Coordinate vector in the TEME reference frame. See http://celestrak.com/columns/v02n01/ for coordinate frame definition.

Defined in:

predict/coordinates.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(x : Float64, y : Float64, z : Float64) #

[View source]

Instance Method Detail

def range_to(other : TEME) #

Calculates the range vector from self to other.


[View source]
def to_lat_long_alt(time, grav_type = GravityConstants::WGS72) #

Converts these TEME coordinates to latitude, longitude and altitude at time. See http://celestrak.com/columns/v02n03/ for algorithm used.


[View source]
def x : Float64 #

X coordinate in km


[View source]
def y : Float64 #

Y coordinate in km


[View source]
def z : Float64 #

Z coordinate in km


[View source]