#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. | |
|
|
Constructor initialized with degree in a float.
|
|
|
Constructor initialized with a Radian.
|
|
|
Not Equal.
|
|
|
addition with a Radian
|
|
|
addition with a Degree
|
|
|
addition/assignment with a Radian
|
|
|
addition/assignment with a Degree
|
|
|
subtraction with a Radian
|
|
|
subtraction with a Degree
|
|
|
inverse operator
|
|
|
subtraction/assignment with a Radian
|
|
|
subtraction/assignment with a Degree
|
|
|
Less than.
|
|
|
Less than or equal.
|
|
|
assignment with a Radian
|
|
|
assignment with a Degree
|
|
|
assignment with a degree in a float
|
|
|
Equal.
|
|
|
returns the current value as a float in degrees
|
|
|
returns the current value as a float in radians
|