Public Member Functions

sp::math::Degree< T > Class Template Reference

Degree class. An instance of this class will always store a value in the range [0.0 .. 360.0). More...

#include <spMathRadianDegree.hpp>

Inheritance diagram for sp::math::Degree< T >:
sp::math::RadianDegreeAngle< T >

List of all members.

Public Member Functions

 Degree (const T &Deg=0)
 Degree (const Degree< T > &Deg)
 Degree (const Radian< T > &Rad)
 ~Degree ()
getDegree () const
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

Detailed Description

template<typename T>
class sp::math::Degree< T >

Degree class. An instance of this class will always store a value in the range [0.0 .. 360.0).


Constructor & Destructor Documentation

template<typename T>
sp::math::Degree< T >::Degree ( const T &  Deg = 0  )  [inline]
template<typename T>
sp::math::Degree< T >::Degree ( const Degree< T > &  Deg  )  [inline]
template<typename T >
sp::math::Degree< T >::Degree ( const Radian< T > &  Rad  ) 
template<typename T>
sp::math::Degree< T >::~Degree (  )  [inline]

Member Function Documentation

template<typename T>
T sp::math::Degree< T >::getDegree (  )  const [inline, virtual]
template<typename T>
T sp::math::Degree< T >::getRadian (  )  const [inline, virtual]
template<typename T>
Degree<T> sp::math::Degree< T >::operator* ( const Degree< T > &  Other  )  const [inline]
template<typename T>
Degree<T>& sp::math::Degree< T >::operator*= ( const Degree< T > &  Other  )  [inline]
template<typename T>
Degree<T> sp::math::Degree< T >::operator+ ( const Degree< T > &  Other  )  const [inline]
template<typename T>
Degree<T>& sp::math::Degree< T >::operator+= ( const Degree< T > &  Other  )  [inline]
template<typename T>
Degree<T> sp::math::Degree< T >::operator- ( const Degree< T > &  Other  )  const [inline]
template<typename T>
Degree<T>& sp::math::Degree< T >::operator-= ( const Degree< T > &  Other  )  [inline]
template<typename T>
Degree<T> sp::math::Degree< T >::operator/ ( const Degree< T > &  Other  )  const [inline]
template<typename T>
Degree<T>& sp::math::Degree< T >::operator/= ( const Degree< T > &  Other  )  [inline]
template<typename T>
bool sp::math::Degree< T >::operator< ( const Degree< T > &  Other  )  const [inline]
template<typename T>
bool sp::math::Degree< T >::operator<= ( const Degree< T > &  Other  )  const [inline]
template<typename T>
Degree<T>& sp::math::Degree< T >::operator= ( const Degree< T > &  Other  )  [inline]
template<typename T>
bool sp::math::Degree< T >::operator> ( const Degree< T > &  Other  )  const [inline]
template<typename T>
bool sp::math::Degree< T >::operator>= ( const Degree< T > &  Other  )  const [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines