This class represents the velocity of a rigid body. More...
#include <abstract-robot-dynamics/rigid-velocity.hh>
Public Member Functions | |
CjrlRigidVelocity () | |
Constructor. | |
CjrlRigidVelocity (const vector3d &inLinearVelocity, const vector3d &inRotationVelocity) | |
Constructor. | |
const vector3d & | linearVelocity () const |
Get the linear velocity vector. | |
void | linearVelocity (const vector3d &inLinearVelocity) |
Set the linear velocity vector. | |
const vector3d & | rotationVelocity () const |
Get the rotation velocity vector. | |
void | rotationVelocity (const vector3d &inRotationVelocity) |
Set the rotation velocity vector. |
This class represents the velocity of a rigid body.
The velocity is represented by
CjrlRigidVelocity::CjrlRigidVelocity | ( | ) | [inline] |
Constructor.
CjrlRigidVelocity::CjrlRigidVelocity | ( | const vector3d & | inLinearVelocity, |
const vector3d & | inRotationVelocity | ||
) | [inline] |
Constructor.
const vector3d& CjrlRigidVelocity::linearVelocity | ( | ) | const [inline] |
Get the linear velocity vector.
void CjrlRigidVelocity::linearVelocity | ( | const vector3d & | inLinearVelocity | ) | [inline] |
Set the linear velocity vector.
const vector3d& CjrlRigidVelocity::rotationVelocity | ( | ) | const [inline] |
Get the rotation velocity vector.
void CjrlRigidVelocity::rotationVelocity | ( | const vector3d & | inRotationVelocity | ) | [inline] |
Set the rotation velocity vector.