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