Rose
Static Public Member Functions | Static Public Attributes | List of all members
P13 Class Reference

Plan13 general functions and constants. More...

#include <Plan13.h>

Static Public Member Functions

template<typename T >
static constexpr std::tuple< T, T > mod (const T x)
 
template<typename T >
static constexpr T to_integer (const T x)
 
template<typename T >
static constexpr T to_fraction (const T x)
 

Static Public Attributes

static constexpr double RE = 6378.137
 
static constexpr double FL = 1. / 298.257224
 
static constexpr double GM = 3.986E5
 
static constexpr double J2 = 1.08263E-3
 
static constexpr double YM = 365.25
 
static constexpr double YT = 365.2421874
 
static constexpr double WW = 2. * M_PI / YT
 
static constexpr double WE = 2. * M_PI + WW
 
static constexpr double W0 = WE / 86400.
 
static constexpr double YG = 2014.
 
static constexpr double G0 = 99.5828
 
static constexpr double MAS0 = 356.4105
 
static constexpr double MASD = 0.98560028
 
static constexpr double EQC1 = 0.03340
 
static constexpr double EQC2 = 0.00035
 
static constexpr double INS = RADIANS(23.4375)
 
static constexpr double CNS = cx_math::cos(INS)
 
static constexpr double SNS = cx_math::sin(INS)
 
static constexpr double MAX_TLE_AGE = 7.0
 max age to use a TLE, days (except moon)
 
static constexpr double MAX_TLE_AGE_MOON = 1.5
 max age to use a TLE, days for the moon
 

Detailed Description

Plan13 general functions and constants.


The documentation for this class was generated from the following file: