Loading...
Searching...
No Matches
Variables
constants.hpp File Reference
#include <math.h>

Go to the source code of this file.

Variables

constexpr double cuspatial::DEGREE_TO_RADIAN = M_PI / 180.0
 
constexpr double cuspatial::RADIAN_TO_DEGREE = 180.0 / M_PI
 
constexpr double cuspatial::CIRCLE_DEGREES = 360.0
 
constexpr double cuspatial::EARTH_RADIUS_KM = 6371.0
 
constexpr double cuspatial::EARTH_CIRCUMFERENCE_EQUATOR_KM = 40000.0
 
constexpr double cuspatial::EARTH_CIRCUMFERENCE_KM_PER_DEGREE
 

Variable Documentation

◆ CIRCLE_DEGREES

constexpr double cuspatial::CIRCLE_DEGREES = 360.0
constexpr

Definition at line 30 of file constants.hpp.

◆ DEGREE_TO_RADIAN

constexpr double cuspatial::DEGREE_TO_RADIAN = M_PI / 180.0
constexpr

Definition at line 28 of file constants.hpp.

◆ EARTH_CIRCUMFERENCE_EQUATOR_KM

constexpr double cuspatial::EARTH_CIRCUMFERENCE_EQUATOR_KM = 40000.0
constexpr

Definition at line 33 of file constants.hpp.

◆ EARTH_CIRCUMFERENCE_KM_PER_DEGREE

constexpr double cuspatial::EARTH_CIRCUMFERENCE_KM_PER_DEGREE
constexpr
Initial value:
=
EARTH_CIRCUMFERENCE_EQUATOR_KM / CIRCLE_DEGREES

Definition at line 34 of file constants.hpp.

◆ EARTH_RADIUS_KM

constexpr double cuspatial::EARTH_RADIUS_KM = 6371.0
constexpr

Definition at line 32 of file constants.hpp.

◆ RADIAN_TO_DEGREE

constexpr double cuspatial::RADIAN_TO_DEGREE = 180.0 / M_PI
constexpr

Definition at line 29 of file constants.hpp.