1 #ifndef _MATH_CONSTANTS_H 2 #define _MATH_CONSTANTS_H 12 const double PI=3.1415926535897932384626433832795028841971693993751;
14 const double DPI=3.1415926535897932384626433832795028841971693993751;
16 const double D2PI=6.2831853071795864769252867665590057683943387987502;
18 const double DPI2=1.5707963267948966192313216916397514420985846996876;
20 const double DS2R=7.2722052166430399038487115353692196393452995355905e-5;
22 const double DAS2R=4.8481368110953599358991410235794797595635330237270e-6;
25 const double DTOR=static_cast <
double>(
DPI / 180.);
27 const double RTOD=static_cast <
double>(180. /
DPI);
29 #define RADOF(deg) static_cast <double>(DTOR * (deg)) 30 #define DEG2RAD(deg) static_cast <double>(DTOR * (deg)) 32 #define DEGOF(rad) static_cast <double>(RTOD * (rad)) 34 #define RAD2DEG(rad) (double)(RTOD * (rad)) 40 const double D_SMALL=static_cast <
double>(1
e-76);
63 #define DIRECTION_ROW 0 64 #define DIRECTION_COLUMN 1 66 #define ESTIMATOR_SIZE 5 69 #endif //_MATH_CONSTANTS_H const double RTOD
Multiplicand for Radians to Degrees.
Definition: math/constants.h:27
Definition: eci2kep_test.cpp:33
const double O_SMALL
Definition: math/constants.h:39
const double DAS2R
Multiplicand for Seconds of Arc to Radians.
Definition: math/constants.h:22
const double DPI2
Double precision PI/2.
Definition: math/constants.h:18
const double O_UNDEFINED
Definition: math/constants.h:37
const double PI
PI.
Definition: math/constants.h:12
Headers and definitions common to all COSMOS.
const double O_INFINITE
Definition: math/constants.h:38
const double D_SMALL
Definition: math/constants.h:40
const double DTOR
Multiplicand for Degrees to Radians.
Definition: math/constants.h:25
Little Endian byte order.
const double D2PI
Double precision 2*PI.
Definition: math/constants.h:16
const double DS2R
Multiplicand for Seconds of Time to Radians.
Definition: math/constants.h:20
ByteOrder
Enumeration of possible byte orders.
Definition: math/constants.h:48
const double DPI
Double precision PI.
Definition: math/constants.h:14