ad_physics
|
#include <ad/physics/Angle.hpp>
Public Member Functions | |
Angle () | |
default constructor More... | |
_AD_PHYSICS_ANGLE_EXPLICIT_CONVERSION_ | Angle (double const iAngle) |
standard constructor More... | |
Angle (const Angle &other)=default | |
standard copy constructor | |
Angle (Angle &&other)=default | |
standard move constructor | |
Angle & | operator= (const Angle &other)=default |
standard assignment operator More... | |
Angle & | operator= (Angle &&other)=default |
standard move operator More... | |
bool | operator== (const Angle &other) const |
standard comparison operator More... | |
bool | operator!= (const Angle &other) const |
standard comparison operator More... | |
bool | operator> (const Angle &other) const |
standard comparison operator More... | |
bool | operator< (const Angle &other) const |
standard comparison operator More... | |
bool | operator>= (const Angle &other) const |
standard comparison operator More... | |
bool | operator<= (const Angle &other) const |
standard comparison operator More... | |
Angle | operator+ (const Angle &other) const |
standard arithmetic operator More... | |
Angle & | operator+= (const Angle &other) |
standard arithmetic operator More... | |
Angle | operator- (const Angle &other) const |
standard arithmetic operator More... | |
Angle | operator-= (const Angle &other) |
standard arithmetic operator More... | |
Angle | operator* (const double &scalar) const |
standard arithmetic operator More... | |
Angle | operator/ (const double &scalar) const |
standard arithmetic operator More... | |
double | operator/ (const Angle &other) const |
standard arithmetic operator More... | |
Angle | operator- () const |
standard arithmetic operator More... | |
_AD_PHYSICS_ANGLE_EXPLICIT_CONVERSION_ | operator double () const |
conversion to base type: double More... | |
bool | isValid () const |
void | ensureValid () const |
ensure that the Angle is valid More... | |
void | ensureValidNonZero () const |
ensure that the Angle is valid and non zero More... | |
Static Public Member Functions | |
static Angle | getMin () |
get minimum valid Angle (i.e. cMinValue) | |
static Angle | getMax () |
get maximum valid Angle (i.e. cMaxValue) | |
static Angle | getPrecision () |
get assumed accuracy of Angle (i.e. cPrecisionValue) | |
Static Public Attributes | |
static const double | cMinValue |
constant defining the minimum valid Angle value (used in isValid()) | |
static const double | cMaxValue |
constant defining the maximum valid Angle value (used in isValid()) | |
static const double | cPrecisionValue |
constant defining the assumed Angle value accuracy (used in comparison operator==(), operator!=()) | |
DataType Angle.
An angle measured in radians The unit is: Radian
|
inline |
default constructor
The default value of Angle is: std::numeric_limits<double>::quiet_NaN()
|
inline |
standard constructor
|
inline |
|
inline |
|
inline |
|
inline |
conversion to base type: double
|
inline |
|
inline |
standard arithmetic operator
[in] | scalar | Scalar double value |
value
or the result of the operation is not valid standard arithmetic operator
[in] | other | Other Angle |
standard arithmetic operator
[in] | other | Other Angle |
|
inline |
standard arithmetic operator
standard arithmetic operator
[in] | other | Other Angle |
standard arithmetic operator
[in] | other | Other Angle |
|
inline |
standard arithmetic operator
[in] | other | Other Angle |
|
inline |
standard arithmetic operator
[in] | scalar | Scalar double value |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |