ad_physics
|
DataType AngularVelocity. More...
#include <ad/physics/AngularVelocity.hpp>
Public Member Functions | |
AngularVelocity () | |
default constructor More... | |
_AD_PHYSICS_ANGULARVELOCITY_EXPLICIT_CONVERSION_ | AngularVelocity (double const iAngularVelocity) |
standard constructor More... | |
AngularVelocity (const AngularVelocity &other)=default | |
standard copy constructor | |
AngularVelocity (AngularVelocity &&other)=default | |
standard move constructor | |
AngularVelocity & | operator= (const AngularVelocity &other)=default |
standard assignment operator More... | |
AngularVelocity & | operator= (AngularVelocity &&other)=default |
standard move operator More... | |
bool | operator== (const AngularVelocity &other) const |
standard comparison operator More... | |
bool | operator!= (const AngularVelocity &other) const |
standard comparison operator More... | |
bool | operator> (const AngularVelocity &other) const |
standard comparison operator More... | |
bool | operator< (const AngularVelocity &other) const |
standard comparison operator More... | |
bool | operator>= (const AngularVelocity &other) const |
standard comparison operator More... | |
bool | operator<= (const AngularVelocity &other) const |
standard comparison operator More... | |
AngularVelocity | operator+ (const AngularVelocity &other) const |
standard arithmetic operator More... | |
AngularVelocity & | operator+= (const AngularVelocity &other) |
standard arithmetic operator More... | |
AngularVelocity | operator- (const AngularVelocity &other) const |
standard arithmetic operator More... | |
AngularVelocity | operator-= (const AngularVelocity &other) |
standard arithmetic operator More... | |
AngularVelocity | operator* (const double &scalar) const |
standard arithmetic operator More... | |
AngularVelocity | operator/ (const double &scalar) const |
standard arithmetic operator More... | |
double | operator/ (const AngularVelocity &other) const |
standard arithmetic operator More... | |
AngularVelocity | operator- () const |
standard arithmetic operator More... | |
_AD_PHYSICS_ANGULARVELOCITY_EXPLICIT_CONVERSION_ | operator double () const |
conversion to base type: double More... | |
bool | isValid () const |
void | ensureValid () const |
ensure that the AngularVelocity is valid More... | |
void | ensureValidNonZero () const |
ensure that the AngularVelocity is valid and non zero More... | |
Static Public Member Functions | |
static AngularVelocity | getMin () |
get minimum valid AngularVelocity (i.e. cMinValue) | |
static AngularVelocity | getMax () |
get maximum valid AngularVelocity (i.e. cMaxValue) | |
static AngularVelocity | getPrecision () |
get assumed accuracy of AngularVelocity (i.e. cPrecisionValue) | |
Static Public Attributes | |
static const double | cMinValue |
constant defining the minimum valid AngularVelocity value (used in isValid()) | |
static const double | cMaxValue |
constant defining the maximum valid AngularVelocity value (used in isValid()) | |
static const double | cPrecisionValue |
constant defining the assumed AngularVelocity value accuracy (used in comparison operator==(), operator!=()) | |
DataType AngularVelocity.
The rate of change of angular velocity of an object with respect to time. The unit is: RadianPerSecond
|
inline |
default constructor
The default value of AngularVelocity is: std::numeric_limits<double>::quiet_NaN()
|
inline |
standard constructor
|
inline |
ensure that the AngularVelocity is valid
Throws an std::out_of_range() exception if the AngularVelocity in not valid (i.e. isValid() returns false)
|
inline |
ensure that the AngularVelocity is valid and non zero
Throws an std::out_of_range() exception if the AngularVelocity in not valid or zero (i.e. isValid() returns false)
|
inline |
true
if the AngularVelocity in a valid rangeAn AngularVelocity value is defined to be valid if:
|
inline |
conversion to base type: double
|
inline |
standard comparison operator
[in] | other | Other AngularVelocity. |
true
if one of the AngularVelocity is not valid or they can be taken as numerically different
|
inline |
standard arithmetic operator
[in] | scalar | Scalar double value |
value
or the result of the operation is not valid
|
inline |
standard arithmetic operator
[in] | other | Other AngularVelocity |
|
inline |
standard arithmetic operator
[in] | other | Other AngularVelocity |
|
inline |
standard arithmetic operator
|
inline |
standard arithmetic operator
[in] | other | Other AngularVelocity |
|
inline |
standard arithmetic operator
[in] | other | Other AngularVelocity |
|
inline |
standard arithmetic operator
[in] | other | Other AngularVelocity |
|
inline |
standard arithmetic operator
[in] | scalar | Scalar double value |
|
inline |
standard comparison operator
[in] | other | Other AngularVelocity. |
true
if both AngularVelocity are valid and this AngularVelocity is strictly numerically smaller than other.
|
inline |
standard comparison operator
[in] | other | Other AngularVelocity |
true
if both AngularVelocity are valid and this AngularVelocity is numerically smaller than other.
|
default |
standard move operator
[in] | other | Other AngularVelocity |
|
default |
standard assignment operator
[in] | other | Other AngularVelocity |
|
inline |
standard comparison operator
[in] | other | Other AngularVelocity |
true
if both AngularVelocity are valid and can be taken as numerically equal
|
inline |
standard comparison operator
[in] | other | Other AngularVelocity. |
true
if both AngularVelocity are valid and this AngularVelocity is strictly numerically greater than other.
|
inline |
standard comparison operator
[in] | other | Other AngularVelocity. |
true
if both AngularVelocity are valid and this AngularVelocity is numerically greater than other.