Radian class. An instance of this class will always store a value in the range [0.0 .. 2*pi). More...
#include <spMathRadianDegree.hpp>
Public Member Functions | |
Radian (const T &Rad=T(0)) | |
Radian (const Radian< T > &Rad) | |
Radian (const Degree< T > &Deg) | |
~Radian () | |
T | getDegree () const |
T | getRadian () const |
Radian< T > & | operator= (const Radian< T > &Other) |
Radian< T > & | operator+= (const Radian< T > &Other) |
Radian< T > & | operator-= (const Radian< T > &Other) |
Radian< T > & | operator*= (const Radian< T > &Other) |
Radian< T > & | operator/= (const Radian< T > &Other) |
Radian< T > | operator+ (const Radian< T > &Other) const |
Radian< T > | operator- (const Radian< T > &Other) const |
Radian< T > | operator* (const Radian< T > &Other) const |
Radian< T > | operator/ (const Radian< T > &Other) const |
bool | operator> (const Radian< T > &Other) const |
bool | operator>= (const Radian< T > &Other) const |
bool | operator< (const Radian< T > &Other) const |
bool | operator<= (const Radian< T > &Other) const |
Radian class. An instance of this class will always store a value in the range [0.0 .. 2*pi).
sp::math::Radian< T >::Radian | ( | const T & | Rad = T(0) |
) | [inline] |
sp::math::Radian< T >::Radian | ( | const Radian< T > & | Rad | ) | [inline] |
sp::math::Radian< T >::Radian | ( | const Degree< T > & | Deg | ) | [inline] |
sp::math::Radian< T >::~Radian | ( | ) | [inline] |
T sp::math::Radian< T >::getDegree | ( | ) | const [inline, virtual] |
Implements sp::math::RadianDegreeAngle< T >.
T sp::math::Radian< T >::getRadian | ( | ) | const [inline, virtual] |
Implements sp::math::RadianDegreeAngle< T >.
Radian<T> sp::math::Radian< T >::operator* | ( | const Radian< T > & | Other | ) | const [inline] |
Radian<T>& sp::math::Radian< T >::operator*= | ( | const Radian< T > & | Other | ) | [inline] |
Radian<T> sp::math::Radian< T >::operator+ | ( | const Radian< T > & | Other | ) | const [inline] |
Radian<T>& sp::math::Radian< T >::operator+= | ( | const Radian< T > & | Other | ) | [inline] |
Radian<T> sp::math::Radian< T >::operator- | ( | const Radian< T > & | Other | ) | const [inline] |
Radian<T>& sp::math::Radian< T >::operator-= | ( | const Radian< T > & | Other | ) | [inline] |
Radian<T> sp::math::Radian< T >::operator/ | ( | const Radian< T > & | Other | ) | const [inline] |
Radian<T>& sp::math::Radian< T >::operator/= | ( | const Radian< T > & | Other | ) | [inline] |
bool sp::math::Radian< T >::operator< | ( | const Radian< T > & | Other | ) | const [inline] |
bool sp::math::Radian< T >::operator<= | ( | const Radian< T > & | Other | ) | const [inline] |
Radian<T>& sp::math::Radian< T >::operator= | ( | const Radian< T > & | Other | ) | [inline] |
bool sp::math::Radian< T >::operator> | ( | const Radian< T > & | Other | ) | const [inline] |
bool sp::math::Radian< T >::operator>= | ( | const Radian< T > & | Other | ) | const [inline] |