Angle()
Constructs an NULL Angle object.
@ order_ZYX
Definition: angle.h:57
bool operator<(const Angle &angle) const
< operator.
@ angle_degrees
Definition: angle.h:45
static Angle from_degrees(float value)
From degrees.
void operator*=(const Angle &angle)
*= operator.
void operator+=(const Angle &angle)
+= operator.
bool operator>=(const Angle &angle) const
> operator.
@ order_XYZ
Definition: angle.h:52
void set_degrees(float value_degrees)
Set the angle value in degrees.
@ order_YXZ
Definition: angle.h:55
@ order_ZXY
Definition: angle.h:56
Angle class.
Definition: angle.h:63
EulerOrder
Euler angle rotation order.
Definition: angle.h:51
bool operator>(const Angle &angle) const
> operator.
static Angle from_radians(float value)
From radians.
bool operator<=(const Angle &angle) const
< operator.
Angle operator/(const Angle &angle) const
/ operator.
Angle & normalize_180()
Converts angle to range [-180,180] degrees.
AngleUnit
Angle unit.
Definition: angle.h:44
void set_radians(float value_radians)
Set the angle value in radians.
Angle operator+(const Angle &angle) const
operator.
bool operator==(const Angle &angle) const
== operator.
@ order_YZX
Definition: angle.h:54
Angle(float value, AngleUnit unit)
Constructs an Angle object.
@ order_XZY
Definition: angle.h:53
void operator/=(const Angle &angle)
/= operator.
void operator-=(const Angle &angle)
-= operator.
Angle operator*(const Angle &angle) const
operator.
float to_radians() const
Returns the angle as radians.
@ angle_radians
Definition: angle.h:46
float to_degrees() const
Returns the angle as degrees.
Angle & normalize()
Converts angle to range [0,360] degrees.
Angle operator-(const Angle &angle) const
operator.
bool operator!=(const Angle &angle) const
!= operator.