It defines the basic type CDegrees, used to store an angle value in degrees. More...
#include <angles.h>
Public Member Functions | |
CDegrees () | |
Class constructor It initializes m_fValue to 0 degrees. More... | |
CDegrees (Real f_value) | |
Class constructor It initializes m_fValue to the passed value. More... | |
void | FromValueInRadians (Real f_value) |
Sets the value from a value in radians It sets m_fValue (which is in degrees) converting from the passed value in radians. More... | |
Real | GetValue () const |
Returns the value in degrees. More... | |
Real | GetAbsoluteValue () const |
Returns the absolute value in degrees. More... | |
void | SetValue (Real f_value) |
Sets the value in degrees. More... | |
CDegrees & | SignedNormalize () |
Normalizes the value in the range [-180:180]. More... | |
CDegrees & | UnsignedNormalize () |
Normalizes the value in the range [0:360]. More... | |
CDegrees & | operator+ () |
CDegrees | operator- () const |
CDegrees & | operator+= (const CDegrees &c_degrees) |
CDegrees & | operator-= (const CDegrees &c_degrees) |
CDegrees & | operator*= (Real f_value) |
CDegrees & | operator/= (Real f_value) |
CDegrees | operator+ (const CDegrees &c_degrees) const |
CDegrees | operator- (const CDegrees &c_degrees) const |
CDegrees | operator* (Real f_value) const |
Real | operator/ (const CDegrees &c_degrees) const |
CDegrees | operator/ (Real f_value) const |
bool | operator< (const CDegrees &c_degrees) const |
bool | operator<= (const CDegrees &c_degrees) const |
bool | operator> (const CDegrees &c_degrees) const |
bool | operator>= (const CDegrees &c_degrees) const |
bool | operator== (const CDegrees &c_degrees) const |
bool | operator!= (const CDegrees &c_degrees) const |
It defines the basic type CDegrees, used to store an angle value in degrees.
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |