2-D acceleration related data structure. More...
#include <Acceleration.hpp>
Public Attributes | |
LinearAcceleration2 | linear |
Linear acceleration. | |
AngularAcceleration | angular |
Angular acceleration. | |
Related Functions | |
(Note that these are not member functions.) | |
constexpr bool | operator== (const Acceleration &lhs, const Acceleration &rhs) |
Equality operator. | |
constexpr bool | operator!= (const Acceleration &lhs, const Acceleration &rhs) |
Inequality operator. | |
constexpr Acceleration & | operator*= (Acceleration &lhs, const Real rhs) |
Multiplication assignment operator. | |
constexpr Acceleration & | operator/= (Acceleration &lhs, const Real rhs) |
Division assignment operator. | |
constexpr Acceleration & | operator+= (Acceleration &lhs, const Acceleration &rhs) |
Addition assignment operator. | |
constexpr Acceleration | operator+ (const Acceleration &lhs, const Acceleration &rhs) |
Addition operator. | |
constexpr Acceleration & | operator-= (Acceleration &lhs, const Acceleration &rhs) |
Subtraction assignment operator. | |
constexpr Acceleration | operator- (const Acceleration &lhs, const Acceleration &rhs) |
Subtraction operator. | |
constexpr Acceleration | operator- (const Acceleration &value) |
Negation operator. | |
constexpr Acceleration | operator+ (const Acceleration &value) |
Positive operator. | |
constexpr Acceleration | operator* (const Acceleration &lhs, const Real rhs) |
Multiplication operator. | |
constexpr Acceleration | operator* (const Real lhs, const Acceleration &rhs) |
Multiplication operator. | |
constexpr Acceleration | operator/ (const Acceleration &lhs, const Real rhs) |
Division operator. | |
template<> | |
constexpr bool | IsValid (const d2::Acceleration &value) noexcept |
Determines if the given value is valid. | |
2-D acceleration related data structure.