9 #ifndef _LIBALMATH_ALMATH_TYPES_ALVELOCITY6D_H_
10 #define _LIBALMATH_ALMATH_TYPES_ALVELOCITY6D_H_
145 Velocity6D(
const std::vector<float>& pFloats);
256 const float& pEpsilon=0.0001f)
const;
281 void toVector(std::vector<float>& pReturnVector)
const;
282 std::vector<float>
toVector(
void)
const;
298 const Velocity6D& pVel);
310 float norm(
const Velocity6D& pVel);
322 Velocity6D
normalize(
const Velocity6D& pVel);
326 #endif // _LIBALMATH_ALMATH_TYPES_ALVELOCITY6D_H_
Velocity6D operator+(void) const
Overloading of operator + for Velocity6D.
Create and play with a Velocity6D.
float norm(const Position2D &pPos)
Compute the norm of a Position2D.
Velocity6D & operator*=(const float pVal)
Overloading of operator *= for Velocity6D.
Velocity6D normalize() const
Normalize the actual Velocity6D:
Velocity6D & operator/=(const float pVal)
Overloading of operator /= for Velocity6D.
Position2D normalize(const Position2D &pPos)
Normalize a Position2D.
std::vector< float > toVector(void) const
float norm() const
Compute the norm of the actual Velocity6D:
Velocity6D operator*(const float pVal) const
Overloading of operator * for Velocity6D.
Velocity6D()
Create a Velocity6D initialize with 0.0f.
bool isNear(const Velocity6D &pVel2, const float &pEpsilon=0.0001f) const
Check if the actual Velocity6D is Near the one given in argument.
bool operator==(const Velocity6D &pVel2) const
Overloading of operator == for Velocity6D.
Velocity6D operator-() const
Overloading of operator - for Velocity6D.
void writeToVector(std::vector< float >::iterator &pIt) const
Write [xd, yd, zd, wxd, wyd, wzd] in the vector and update the iterator. It is assumed the vector has...
Velocity6D operator/(const float pVal) const
Overloading of operator / for Velocity6D.
bool operator!=(const Velocity6D &pVel2) const
Overloading of operator != for Velocity6D.