Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Enumerations | Functions
numeric::conversions Namespace Reference

Enumerations

enum  AngleUnit { RADIANS, DEGREES }
 

Functions

template<typename T >
T radians (T const &degrees)
 Radians of degrees. More...
 
template<typename T >
T radians (T const &angle, AngleUnit const unit)
 Radians of any angle. More...
 
template<typename T >
Tto_radians (T &degrees)
 Radians from degrees. More...
 
template<typename T >
Tto_radians (T &angle, AngleUnit const unit)
 Radians from any angle. More...
 
template<typename T >
T degrees (T const &radians)
 Degrees of radians. More...
 
template<typename T >
T degrees (T const &angle, AngleUnit const unit)
 Degrees of any angle. More...
 
template<typename T >
Tto_degrees (T &radians)
 Degrees from radians. More...
 
template<typename T >
Tto_degrees (T &angle, AngleUnit const unit)
 Degrees from any angle. More...
 
template<typename T >
T from_radians (T const &angle, AngleUnit const unit)
 Any angle from radians. More...
 
template<typename T >
T from_degrees (T const &angle, AngleUnit const unit)
 Any angle from radians. More...
 

Enumeration Type Documentation

Enumerator
RADIANS 
DEGREES 

Function Documentation

template<typename T >
T numeric::conversions::degrees ( T const &  radians)
inline
template<typename T >
T numeric::conversions::degrees ( T const &  angle,
AngleUnit const  unit 
)
inline
template<typename T >
T numeric::conversions::from_degrees ( T const &  angle,
AngleUnit const  unit 
)
inline
template<typename T >
T numeric::conversions::from_radians ( T const &  angle,
AngleUnit const  unit 
)
inline
template<typename T >
T numeric::conversions::radians ( T const &  degrees)
inline
template<typename T >
T numeric::conversions::radians ( T const &  angle,
AngleUnit const  unit 
)
inline
template<typename T >
T& numeric::conversions::to_degrees ( T radians)
inline
template<typename T >
T& numeric::conversions::to_degrees ( T angle,
AngleUnit const  unit 
)
inline
template<typename T >
T& numeric::conversions::to_radians ( T degrees)
inline
template<typename T >
T& numeric::conversions::to_radians ( T angle,
AngleUnit const  unit 
)
inline