#include <OpenGUI_Types.h>
Degrees are not used by any functions in OpenGUI, but are offered here as a supported type since they are the most human familiar method of measuring angles.
Public Member Functions | |
| Degree (float degree_value=0.0f) | |
| Constructor initialized with degree in a float. | |
| Degree (const Radian &radian_value) | |
| Constructor initialized with a Radian. | |
| float | valueDegrees () const |
| returns the current value as a float in degrees | |
| float | valueRadians () const |
| returns the current value as a float in radians | |
| const Degree & | operator= (const float °ree_float) |
| assignment with a degree in a float | |
| const Degree & | operator= (const Degree °ree) |
| assignment with a Degree | |
| const Degree & | operator= (const Radian &radian) |
| assignment with a Radian | |
| Degree | operator+ (const Degree &right) const |
| addition with a Degree | |
| Degree | operator+ (const Radian &right) const |
| addition with a Radian | |
| Degree & | operator+= (const Degree &right) |
| addition/assignment with a Degree | |
| Degree & | operator+= (const Radian &right) |
| addition/assignment with a Radian | |
| Degree | operator- () |
| inverse operator | |
| Degree | operator- (const Degree &right) const |
| subtraction with a Degree | |
| Degree | operator- (const Radian &right) const |
| subtraction with a Radian | |
| Degree & | operator-= (const Degree &right) |
| subtraction/assignment with a Degree | |
| Degree & | operator-= (const Radian &right) |
| subtraction/assignment with a Radian | |
| bool | operator== (const Degree &right) const |
| Equal. | |
| bool | operator!= (const Degree &right) const |
| Not Equal. | |
| bool | operator< (const Degree &right) const |
| Less than. | |
| bool | operator<= (const Degree &right) const |
| Less than or equal. | |
| OpenGUI::Degree::Degree | ( | float | degree_value = 0.0f |
) | [inline, explicit] |
Constructor initialized with degree in a float.
| OpenGUI::Degree::Degree | ( | const Radian & | radian_value | ) | [inline] |
Constructor initialized with a Radian.
| bool OpenGUI::Degree::operator!= | ( | const Degree & | right | ) | const [inline] |
Not Equal.
addition/assignment with a Radian
addition/assignment with a Degree
| Degree OpenGUI::Degree::operator- | ( | ) | [inline] |
inverse operator
subtraction/assignment with a Radian
subtraction/assignment with a Degree
| bool OpenGUI::Degree::operator< | ( | const Degree & | right | ) | const [inline] |
Less than.
| bool OpenGUI::Degree::operator<= | ( | const Degree & | right | ) | const [inline] |
Less than or equal.
assignment with a Radian
assignment with a Degree
| const Degree& OpenGUI::Degree::operator= | ( | const float & | degree_float | ) | [inline] |
assignment with a degree in a float
| bool OpenGUI::Degree::operator== | ( | const Degree & | right | ) | const [inline] |
Equal.
| float OpenGUI::Degree::valueDegrees | ( | ) | const [inline] |
returns the current value as a float in degrees
| float OpenGUI::Degree::valueRadians | ( | ) | const [inline] |
returns the current value as a float in radians