CMS 3D CMS Logo

Namespaces | Functions | Variables
angle_units.h File Reference
#include <cmath>

Go to the source code of this file.

Namespaces

 angle_units
 
 angle_units::operators
 

Functions

template<class NumType >
constexpr long double angle_units::operators::convertDegToRad (NumType degrees)
 
template<class NumType >
constexpr NumType angle_units::operators::convertRadToDeg (NumType radians)
 
constexpr long double angle_units::operators::operator""_deg (long double deg)
 
constexpr long double angle_units::operators::operator""_deg (unsigned long long int deg)
 
constexpr long double angle_units::operators::operator""_pi (long double x)
 
constexpr long double angle_units::operators::operator""_pi (unsigned long long int x)
 
constexpr long double angle_units::operators::operator""_rad (long double rad)
 
constexpr long double angle_units::piRadians (M_PIl)
 

Variables

constexpr long double angle_units::degPerRad = 180. / piRadians