#include <Fxp.h>
Public Member Functions | |
Angle (Afxp ain) | |
Initializes from a raw fixed-point angle. | |
Angle (int degrees) | |
Initializes from an integer number of degrees. | |
Angle (FxpFloat radians) | |
Initializes from a floating-point radian value. | |
int | Degrees () const |
Converts to an integer number of degrees. | |
FxpFloat | Radians () const |
Converts to a floating-point radian value. | |
Afxp | Fxp () const |
Returns the raw floating-point angle. | |
Angle | operator+= (Afxp ain) |
Adds specified angle to the stored angle. | |
Angle | operator-= (Afxp ain) |
Subtracts specified angle from the stored angle. | |
Angle | operator+ (const Angle &ain) |
Returns the sum of the two angles. | |
Angle | SetDegrees (int degrees) |
Sets to an integer number of degrees. | |
Angle | SetRadians (double radians) |
Sets to a floating-point radian value. | |
Sfxp | Sin () const |
Returns the sine value for the angle. | |
Sfxp | Cos () const |
Returns the cosine value for the angle. | |
Sfxp | Tan () const |
Returns the tan value for the angle. |
Definition at line 302 of file Fxp.h.