ad_physics
|
#include <ad/physics/Velocity.hpp>
Public Types | |
typedef std::shared_ptr< Velocity > | Ptr |
Smart pointer on Velocity. | |
typedef std::shared_ptr< Velocity const > | ConstPtr |
Smart pointer on constant Velocity. | |
Public Member Functions | |
Velocity ()=default | |
standard constructor | |
~Velocity ()=default | |
standard destructor | |
Velocity (const Velocity &other)=default | |
standard copy constructor | |
Velocity (Velocity &&other)=default | |
standard move constructor | |
Velocity & | operator= (const Velocity &other)=default |
standard assignment operator More... | |
Velocity & | operator= (Velocity &&other)=default |
standard move operator More... | |
bool | operator== (const Velocity &other) const |
standard comparison operator More... | |
bool | operator!= (const Velocity &other) const |
standard comparison operator More... | |
Public Attributes | |
::ad::physics::Speed | x |
::ad::physics::Speed | y |
::ad::physics::Speed | z |
DataType Velocity.
The rate of change of an object's position with respect to a frame of reference.
Velocity is equivalent to a specification of its speed and direction of motion.
|
inline |
|
inline |
::ad::physics::Speed ad::physics::Velocity::x |
The x component of the velocity
::ad::physics::Speed ad::physics::Velocity::y |
The y component of the velocity
::ad::physics::Speed ad::physics::Velocity::z |
The z component of the velocity