ETL
0.04.19
|
Angle representation in rotations. More...
#include <ETL/angle>
Public Member Functions | |
rot (const value_type &x) | |
rot (const angle &a) | |
rot | mod () const |
Rotation Modulus. | |
rot | dist (const angle &rhs) const |
Angle Difference Function. | |
value_type | get () const |
Public Member Functions inherited from angle | |
const angle & | operator+= (const angle &rhs) |
Stored in radians; positive values indicate counter-clockwise. | |
const angle & | operator-= (const angle &rhs) |
const angle & | operator*= (const unit &rhs) |
const angle & | operator/= (const unit &rhs) |
angle | operator+ (const angle &rhs) const |
Angle Addition Operator. | |
angle | operator- (const angle &rhs) const |
Angle Subtraction Operator. | |
angle | operator* (const unit &rhs) const |
Angle Scalar Multiplication Operator. | |
angle | operator/ (const unit &rhs) const |
angle | operator- () const |
Angle Negation. | |
bool | operator< (const angle &rhs) const |
bool | operator> (const angle &rhs) const |
bool | operator<= (const angle &rhs) const |
bool | operator>= (const angle &rhs) const |
bool | operator== (const angle &rhs) const |
bool | operator!= (const angle &rhs) const |
angle | abs () const |
Absolute Angle Function. | |
bool | operator! () const |
Additional Inherited Members | |
Public Types inherited from angle | |
typedef float | value_type |
Static Public Member Functions inherited from angle | |
static angle | zero () |
Zero Rotation (0 degrees) | |
static angle | one () |
One Complete Rotation (360 degrees) | |
static angle | half () |
One Half Rotation (180 degrees) | |
Protected Types inherited from angle | |
typedef value_type | unit |
Protected Attributes inherited from angle | |
unit | v |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |