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