9 #ifndef _LIBALMATH_ALMATH_TYPES_ALPOSITIONANDVELOCITY_H_
10 #define _LIBALMATH_ALMATH_TYPES_ALPOSITIONANDVELOCITY_H_
47 const float pq = 0.0f,
48 const float pdq = 0.0f);
62 const float& pEpsilon=0.0001f)
const;
68 void toVector(std::vector<float>& pReturnVector)
const;
69 std::vector<float>
toVector(
void)
const;
74 #endif // _LIBALMATH_ALMATH_TYPES_ALPOSITIONANDVELOCITY_H_
Create and play with a PositionAndVelocity.
PositionAndVelocity(const float pq=0.0f, const float pdq=0.0f)
Create a PositionAndVelocity initialize with explicit value.
void toVector(std::vector< float > &pReturnVector) const
Return the PositionAndVelocity as a vector of float [q, dq].
bool isNear(const PositionAndVelocity &pDat2, const float &pEpsilon=0.0001f) const
Check if the actual PositionAndVelocity is near the one give in argument.