struct Predict::GravityConstants

Overview

Gravity constants used by the SGP4 algorithm. Using variants of this class lets you change between WGS72 and WGS84 easily.

Defined in:

predict/constants.cr

Constant Summary

WGS72 = new(SGP4::GravConstType::WGS72)
WGS72Old = new(SGP4::GravConstType::WGS72Old)
WGS84 = new(SGP4::GravConstType::WGS84)

Constructors

Instance Method Summary

Constructor Detail

def self.[](grav_type) : GravityConstants #

[View source]

Instance Method Detail

def flattening : Float64 #

[View source]
def j2 : Float64 #

[View source]
def j3 : Float64 #

[View source]
def j3oj2 : Float64 #

[View source]
def j4 : Float64 #

[View source]
def mu : Float64 #

[View source]
def radiusearthkm : Float64 #

[View source]
def tumin : Float64 #

[View source]
def type : SGP4::GravConstType #

[View source]
def xke : Float64 #

[View source]