Physical and mathematical constants. More...
Variables | |
const double | JD_EPOCH = 2440587.5 |
Julian date value for 1970-01-01 00:00:00+00. | |
const double | JD_2000 = 2451545.0 |
Julian date value for 2000-01-01 12:00:00+00. | |
const double | HOURS_TO_SECS = 3600.0 |
Number of seconds in 1 hour. | |
const double | SECS_TO_HOURS = 2.777777777777778e-04 |
Number of hours in 1 second. | |
const double | DAYS_TO_SECS = 86400.0 |
Number of seconds in 1 day. | |
const double | SECS_TO_DAYS = 1.157407407407407e-05 |
Inverse of DAYS_TO_SECS. | |
const double | CENTURIES_TO_DAYS = 36525.0 |
Number of days in 1 Julian Century. | |
const double | DAYS_TO_CENTURIES = 2.737850787132101e-05 |
Inverse of CENTURIES_TO_DAYS. | |
const double | SIDEREAL_DAY = 1.00273790935 |
The length of a sidereal day. | |
const double | PI = 3.141592653589793 |
The mathematical constant, "pi". | |
const double | TWO_PI = 6.283185307179586 |
The constant "pi" doubled for convenience. | |
const double | DEGREES_TO_RADIANS = 0.0174532925199433 |
The number of radians in 1 degree. | |
const double | RADIANS_TO_DEGREES = 57.29577951308232 |
The number of degrees in 1 radian. | |
const double | REVS_TO_DEGREES = 360.0 |
The number of degrees in 1 revolution. | |
const double | DEGREES_TO_REVS = 2.777777777777778e-03 |
The number of revolutions in 1 degree. | |
const double | RPM_TO_RPS = 0.1047197551197 |
Conversion from RPM (revolutions per minute) to RPS (radians per second). | |
const double | MU_EARTH = 3.9860044e5 |
Earth gravitational constant [km^3/sec^2]. | |
const double | MU_SUN = 1.32712438e11 |
Sun gravitational constant [km^3/sec^2]. | |
const double | MU_MOON = 4902.7934 |
Moon gravitational constant [km^3/sec^2]. | |
const double | RADIUS_EARTH = 6378.137 |
Earth equatorial radius in km. | |
const double | RADIUS_SUN = 695990.00 |
Sun radius [km]. | |
const double | RADIUS_MOON = 1738.00 |
Moon radius [km]. | |
const double | FLATTENING_FACTOR = 0.0033528131 |
Flattening factor default value which is for the earth. | |
const double | ARCSEC_TO_DEGREES = 2.777777777777778e-04 |
Number of arc seconds in one degree, equivalent to seconds in 1 hour (see above). | |
const double | AUNIT = 149597870.691 |
Number of kilometers in one astronomical unit. | |
const double | GAS_R = 8.31451 |
Universal gas constant. | |
const double | SPEED_OF_LIGHT = 299792458. |
Speed of light (m/s) | |
const double | BOLTZMANN = 1.3806488e-23 |
Boltzmann's constant (J/K) |