|
ad_physics
|
#include <ad/physics/Speed.hpp>
Public Member Functions | |
| Speed () | |
| default constructor More... | |
| _AD_PHYSICS_SPEED_EXPLICIT_CONVERSION_ | Speed (double const iSpeed) |
| standard constructor More... | |
| Speed (const Speed &other)=default | |
| standard copy constructor | |
| Speed (Speed &&other)=default | |
| standard move constructor | |
| Speed & | operator= (const Speed &other)=default |
| standard assignment operator More... | |
| Speed & | operator= (Speed &&other)=default |
| standard move operator More... | |
| bool | operator== (const Speed &other) const |
| standard comparison operator More... | |
| bool | operator!= (const Speed &other) const |
| standard comparison operator More... | |
| bool | operator> (const Speed &other) const |
| standard comparison operator More... | |
| bool | operator< (const Speed &other) const |
| standard comparison operator More... | |
| bool | operator>= (const Speed &other) const |
| standard comparison operator More... | |
| bool | operator<= (const Speed &other) const |
| standard comparison operator More... | |
| Speed | operator+ (const Speed &other) const |
| standard arithmetic operator More... | |
| Speed & | operator+= (const Speed &other) |
| standard arithmetic operator More... | |
| Speed | operator- (const Speed &other) const |
| standard arithmetic operator More... | |
| Speed | operator-= (const Speed &other) |
| standard arithmetic operator More... | |
| SpeedSquared | operator* (const Speed &other) const |
| standard arithmetic operator More... | |
| Speed | operator* (const double &scalar) const |
| standard arithmetic operator More... | |
| Speed | operator/ (const double &scalar) const |
| standard arithmetic operator More... | |
| double | operator/ (const Speed &other) const |
| standard arithmetic operator More... | |
| Speed | operator- () const |
| standard arithmetic operator More... | |
| _AD_PHYSICS_SPEED_EXPLICIT_CONVERSION_ | operator double () const |
| conversion to base type: double More... | |
| bool | isValid () const |
| void | ensureValid () const |
| ensure that the Speed is valid More... | |
| void | ensureValidNonZero () const |
| ensure that the Speed is valid and non zero More... | |
Static Public Member Functions | |
| static Speed | getMin () |
| get minimum valid Speed (i.e. cMinValue) | |
| static Speed | getMax () |
| get maximum valid Speed (i.e. cMaxValue) | |
| static Speed | getPrecision () |
| get assumed accuracy of Speed (i.e. cPrecisionValue) | |
Static Public Attributes | |
| static const double | cMinValue |
| constant defining the minimum valid Speed value (used in isValid()) | |
| static const double | cMaxValue |
| constant defining the maximum valid Speed value (used in isValid()) | |
| static const double | cPrecisionValue |
| constant defining the assumed Speed value accuracy (used in comparison operator==(), operator!=()) | |
DataType Speed.
The rate of change of an object's position with respect to time. The speed of an object is the magnitude of its velocity. The unit is: MeterPerSecond
|
inline |
default constructor
The default value of Speed 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 | SpeedSquared ad::physics::Speed::operator* | ( | const Speed & | other | ) | const |
standard arithmetic operator
| [in] | other | Other Speed |
standard arithmetic operator
| [in] | other | Other Speed |
standard arithmetic operator
| [in] | other | Other Speed |
|
inline |
standard arithmetic operator
standard arithmetic operator
| [in] | other | Other Speed |
standard arithmetic operator
| [in] | other | Other Speed |
|
inline |
standard arithmetic operator
| [in] | scalar | Scalar double value |
|
inline |
standard arithmetic operator
| [in] | other | Other Speed |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
1.8.17