COSMOS core  1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
Collaboration diagram for Math library constants:

Macros

#define RADOF(deg)   static_cast <double>(DTOR * (deg))
 Radians of a Degree value. More...
 
#define DEG2RAD(deg)   static_cast <double>(DTOR * (deg))
 Radians of a Degree value. More...
 
#define DEGOF(rad)   static_cast <double>(RTOD * (rad))
 Degrees of a Radian value. More...
 
#define RAD2DEG(rad)   (double)(RTOD * (rad))
 Degrees of a Radian value. More...
 
#define DIRECTION_ROW   0
 
#define DIRECTION_COLUMN   1
 
#define ESTIMATOR_SIZE   5
 

Enumerations

enum  ByteOrder : std::uint8_t {
  ByteOrder::BIGENDIAN =0, ByteOrder::PPC =ByteOrder::BIGENDIAN, ByteOrder::MOTOROLA =ByteOrder::BIGENDIAN, ByteOrder::LITTLEENDIAN =1,
  ByteOrder::INTEL =ByteOrder::LITTLEENDIAN, ByteOrder::NETWORK =ByteOrder::BIGENDIAN
}
 Enumeration of possible byte orders. More...
 

Variables

const double PI =3.1415926535897932384626433832795028841971693993751
 PI. More...
 
const double DPI =3.1415926535897932384626433832795028841971693993751
 Double precision PI. More...
 
const double D2PI =6.2831853071795864769252867665590057683943387987502
 Double precision 2*PI. More...
 
const double DPI2 =1.5707963267948966192313216916397514420985846996876
 Double precision PI/2. More...
 
const double DS2R =7.2722052166430399038487115353692196393452995355905e-5
 Multiplicand for Seconds of Time to Radians. More...
 
const double DAS2R =4.8481368110953599358991410235794797595635330237270e-6
 Multiplicand for Seconds of Arc to Radians. More...
 
const double DTOR =static_cast <double>(DPI / 180.)
 Multiplicand for Degrees to Radians. More...
 
const double RTOD =static_cast <double>(180. / DPI)
 Multiplicand for Radians to Degrees. More...
 
const double O_UNDEFINED =999999.1
 
const double O_INFINITE =10000000000000000000000000.9
 
const double O_SMALL =0.00000001
 
const double D_SMALL =static_cast <double>(1e-76)
 

Detailed Description

Macro Definition Documentation

#define RADOF (   deg)    static_cast <double>(DTOR * (deg))

Radians of a Degree value.

#define DEG2RAD (   deg)    static_cast <double>(DTOR * (deg))

Radians of a Degree value.

#define DEGOF (   rad)    static_cast <double>(RTOD * (rad))

Degrees of a Radian value.

#define RAD2DEG (   rad)    (double)(RTOD * (rad))

Degrees of a Radian value.

#define DIRECTION_ROW   0
#define DIRECTION_COLUMN   1
#define ESTIMATOR_SIZE   5

Enumeration Type Documentation

enum ByteOrder : std::uint8_t
strong

Enumeration of possible byte orders.

Enumerator
BIGENDIAN 

Big Endian byte order.

PPC 

PowerPC byte order.

MOTOROLA 

Motorola byte order.

LITTLEENDIAN 

Little Endian byte order.

INTEL 

Intel byte order.

NETWORK 

Network byte order.

48  : std::uint8_t {
50  BIGENDIAN=0, // was previouly ORDER_BIGENDIAN, replace by ByteOrder::BIGENDIAN
56  LITTLEENDIAN=1, // was previouly ORDER_LITTLEENDIAN
61 };
Network byte order.
Motorola byte order.
PowerPC byte order.
Big Endian byte order.
Little Endian byte order.
Intel byte order.

Variable Documentation

const double PI =3.1415926535897932384626433832795028841971693993751

PI.

const double DPI =3.1415926535897932384626433832795028841971693993751

Double precision PI.

const double D2PI =6.2831853071795864769252867665590057683943387987502

Double precision 2*PI.

const double DPI2 =1.5707963267948966192313216916397514420985846996876

Double precision PI/2.

const double DS2R =7.2722052166430399038487115353692196393452995355905e-5

Multiplicand for Seconds of Time to Radians.

const double DAS2R =4.8481368110953599358991410235794797595635330237270e-6

Multiplicand for Seconds of Arc to Radians.

const double DTOR =static_cast <double>(DPI / 180.)

Multiplicand for Degrees to Radians.

const double RTOD =static_cast <double>(180. / DPI)

Multiplicand for Radians to Degrees.

const double O_UNDEFINED =999999.1
const double O_INFINITE =10000000000000000000000000.9
const double O_SMALL =0.00000001
const double D_SMALL =static_cast <double>(1e-76)