Rosetta Utilities  2014.35
Namespaces | Enumerations | Functions
conversions.hh File Reference

Conversions between degrees and radians. More...

#include <numeric/NumericTraits.hh>

Namespaces

 numeric
 Unit headers.
 
 numeric::conversions
 

Enumerations

enum  numeric::conversions::AngleUnit { numeric::conversions::RADIANS, numeric::conversions::DEGREES }
 

Functions

template<typename T >
numeric::conversions::radians (T const &degrees)
 Radians of degrees. More...
 
template<typename T >
numeric::conversions::radians (T const &angle, AngleUnit const unit)
 Radians of any angle. More...
 
template<typename T >
T & numeric::conversions::to_radians (T &degrees)
 Radians from degrees. More...
 
template<typename T >
T & numeric::conversions::to_radians (T &angle, AngleUnit const unit)
 Radians from any angle. More...
 
template<typename T >
numeric::conversions::degrees (T const &radians)
 Degrees of radians. More...
 
template<typename T >
numeric::conversions::degrees (T const &angle, AngleUnit const unit)
 Degrees of any angle. More...
 
template<typename T >
T & numeric::conversions::to_degrees (T &radians)
 Degrees from radians. More...
 
template<typename T >
T & numeric::conversions::to_degrees (T &angle, AngleUnit const unit)
 Degrees from any angle. More...
 
template<typename T >
numeric::conversions::from_radians (T const &angle, AngleUnit const unit)
 Any angle from radians. More...
 
template<typename T >
numeric::conversions::from_degrees (T const &angle, AngleUnit const unit)
 Any angle from radians. More...
 

Detailed Description

Conversions between degrees and radians.

Author
Stuart G. Mentzer (Stuar.nosp@m.t_Me.nosp@m.ntzer.nosp@m.@obj.nosp@m.exx.c.nosp@m.om)