#include <OVR_Math.h>
Public Types | |
enum | AngularUnits { Radians = 0, Degrees = 1 } |
Public Member Functions | |
T | Abs () const |
Angle () | |
Angle (T a_, AngularUnits u=Radians) | |
T | Distance (const Angle &b) |
T | Get (AngularUnits u=Radians) const |
bool | operator!= (const Angle &b) const |
Angle | operator+ (const Angle &b) const |
Angle | operator+ (const T &x) const |
Angle & | operator+= (const Angle &b) |
Angle & | operator+= (const T &x) |
Angle | operator- (const Angle &b) const |
Angle | operator- (const T &x) const |
Angle & | operator-= (const Angle &b) |
Angle & | operator-= (const T &x) |
bool | operator== (const Angle &b) const |
void | Set (const T &x, AngularUnits u=Radians) |
int | Sign () const |
Private Member Functions | |
void | FastFixRange () |
void | FixRange () |
Private Attributes | |
T | a |
Definition at line 1032 of file OVR_Math.h.
enum OVR::Angle::AngularUnits |
Definition at line 1035 of file OVR_Math.h.
OVR::Angle< T >::Angle | ( | ) | [inline] |
Definition at line 1041 of file OVR_Math.h.
OVR::Angle< T >::Angle | ( | T | a_, |
AngularUnits | u = Radians |
||
) | [inline] |
Definition at line 1044 of file OVR_Math.h.
T OVR::Angle< T >::Abs | ( | ) | const [inline] |
Definition at line 1049 of file OVR_Math.h.
T OVR::Angle< T >::Distance | ( | const Angle< T > & | b | ) | [inline] |
Definition at line 1069 of file OVR_Math.h.
void OVR::Angle< T >::FastFixRange | ( | ) | [inline, private] |
Definition at line 1077 of file OVR_Math.h.
void OVR::Angle< T >::FixRange | ( | ) | [inline, private] |
Definition at line 1086 of file OVR_Math.h.
T OVR::Angle< T >::Get | ( | AngularUnits | u = Radians | ) | const [inline] |
Definition at line 1046 of file OVR_Math.h.
bool OVR::Angle< T >::operator!= | ( | const Angle< T > & | b | ) | const [inline] |
Definition at line 1052 of file OVR_Math.h.
Angle OVR::Angle< T >::operator+ | ( | const Angle< T > & | b | ) | const [inline] |
Definition at line 1060 of file OVR_Math.h.
Angle OVR::Angle< T >::operator+ | ( | const T & | x | ) | const [inline] |
Definition at line 1061 of file OVR_Math.h.
Angle& OVR::Angle< T >::operator+= | ( | const Angle< T > & | b | ) | [inline] |
Definition at line 1062 of file OVR_Math.h.
Angle& OVR::Angle< T >::operator+= | ( | const T & | x | ) | [inline] |
Definition at line 1063 of file OVR_Math.h.
Angle OVR::Angle< T >::operator- | ( | const Angle< T > & | b | ) | const [inline] |
Definition at line 1064 of file OVR_Math.h.
Angle OVR::Angle< T >::operator- | ( | const T & | x | ) | const [inline] |
Definition at line 1065 of file OVR_Math.h.
Angle& OVR::Angle< T >::operator-= | ( | const Angle< T > & | b | ) | [inline] |
Definition at line 1066 of file OVR_Math.h.
Angle& OVR::Angle< T >::operator-= | ( | const T & | x | ) | [inline] |
Definition at line 1067 of file OVR_Math.h.
bool OVR::Angle< T >::operator== | ( | const Angle< T > & | b | ) | const [inline] |
Definition at line 1051 of file OVR_Math.h.
void OVR::Angle< T >::Set | ( | const T & | x, |
AngularUnits | u = Radians |
||
) | [inline] |
Definition at line 1047 of file OVR_Math.h.
int OVR::Angle< T >::Sign | ( | ) | const [inline] |
Definition at line 1048 of file OVR_Math.h.
T OVR::Angle< T >::a [private] |
Definition at line 1074 of file OVR_Math.h.