sgp4_sdp4 library

Classes

CDate
Year : Includes the century. Month: 1..12 Day : 1..31 including fractional part
CoordGeo
Geo Coordinates Latitude, radians (negative south) Longitude, radians (negative west) Altitude, km (above mean sea level)
CoordTopo
Azimuth, radians Elevation, radians Range, kilometers Range rate of change, km/sec Negative value means "towards observer"
Eci
ECI coordinates
Julian
Orbit
Site
TLE
TLE data format
Vector

Constants

AE → const double
AU → const double
Astronomical unit (km) (IAU 76)
CK2 → const double
CK4 → const double
DAY_24HR → const double
DAY_SIDERAL → const double
E6A → const double
EARTH_DIA → const double
EPOCH_JAN1_00H_1900 → const double
Jan 1.0 1900 = Jan 1 1900 00h UTC
EPOCH_JAN1_12H_1900 → const double
Jan 1.5 1900 = Jan 1 1900 12h UTC
EPOCH_JAN1_12H_2000 → const double
Jan 1.5 2000 = Jan 1 2000 12h UTC
F → const double
Earth flattening (WGS '72)
GE → const double
Earth gravitational constant (WGS '72)
GEOSYNC_ALT → const double
GM → const double
Earth gravitational constant, km^3/sec^2
HR_PER_DAY → const double
Hours per day (solar)
J2 → const double
J2 harmonic (WGS '72)
J3 → const double
J3 harmonic (WGS '72)
J4 → const double
J4 harmonic (WGS '72)
MIN_PER_DAY → const double
Minutes per day (solar)
OMEGA_E → const double
earth rotation per sideral day
PI → const double
QO → const double
RADS_PER_DEG → const double
S → const double
SEC_PER_DAY → const double
Seconds per day (solar)
SR → const double
Solar radius (km) (IAU 76)
TLE1_COL_BSTAR → const int
TLE1_COL_ELNUM → const int
TLE1_COL_EPHEMTYPE → const int
TLE1_COL_EPOCH_A → const int
TLE1_COL_EPOCH_B → const int
TLE1_COL_INTLDESC_A → const int
TLE1_COL_INTLDESC_B → const int
TLE1_COL_INTLDESC_C → const int
TLE1_COL_MEANMOTIONDT → const int
TLE1_COL_MEANMOTIONDT2 → const int
TLE1_COL_SATNUM → const int
TLE1_LEN_BSTAR → const int
TLE1_LEN_ELNUM → const int
TLE1_LEN_EPHEMTYPE → const int
TLE1_LEN_EPOCH_A → const int
TLE1_LEN_EPOCH_B → const int
TLE1_LEN_INTLDESC_A → const int
TLE1_LEN_INTLDESC_B → const int
TLE1_LEN_INTLDESC_C → const int
TLE1_LEN_MEANMOTIONDT → const int
TLE1_LEN_MEANMOTIONDT2 → const int
TLE1_LEN_SATNUM → const int
TLE2_COL_ARGPERIGEE → const int
TLE2_COL_ECCENTRICITY → const int
TLE2_COL_INCLINATION → const int
TLE2_COL_MEANANOMALY → const int
TLE2_COL_MEANMOTION → const int
TLE2_COL_RAASCENDNODE → const int
TLE2_COL_REVATEPOCH → const int
TLE2_COL_SATNUM → const int
TLE2_LEN_ARGPERIGEE → const int
TLE2_LEN_ECCENTRICITY → const int
TLE2_LEN_INCLINATION → const int
TLE2_LEN_MEANANOMALY → const int
TLE2_LEN_MEANMOTION → const int
TLE2_LEN_RAASCENDNODE → const int
TLE2_LEN_REVATEPOCH → const int
TLE2_LEN_SATNUM → const int
TLE_LEN_LINE_DATA → const int
TLE_LEN_LINE_NAME → const int
TWOPI → const double
TWOTHRD → const double
XJ3 → const double
XKMPER_WGS72 → const double
Earth equatorial radius - km (WGS '72)

Properties

QOMS2T double
(QO - S)^4 ER^4
final
XKE double
sqrt(ge) ER^3/min^2
final

Functions

acTan(double sinx, double cosx) double
AcTan() ArcTangent of sin(x) / cos(x). The advantage of this function over arctan() is that it returns the correct quadrant of the angle.
deg2rad(double d) double
convert degree to radians
fmod2p(double arg) double
compute the remainder of truncating division. If it's negative add 2*PI
rad2deg(double r) double
convert radians to degree
sqr(double x) double
return the square value of x