9 #ifndef _LIBALMATH_ALMATH_TYPES_ALVELOCITY3D_H_
10 #define _LIBALMATH_ALMATH_TYPES_ALVELOCITY3D_H_
108 Velocity3D(
const std::vector<float>& pFloats);
215 const float& pEpsilon=0.0001f)
const;
241 void toVector(std::vector<float>& pReturnValue)
const;
242 std::vector<float> toVector(
void)
const;
247 const Velocity3D& pVel1);
259 float norm (
const Velocity3D& pVel);
271 Velocity3D
normalize(
const Velocity3D& pVel);
275 #endif // _LIBALMATH_ALMATH_TYPES_ALVELOCITY3D_H_
bool isNear(const Velocity3D &pVel2, const float &pEpsilon=0.0001f) const
Check if the actual Velocity3D is Near the one given in argument.
bool operator!=(const Velocity3D &pVel2) const
Overloading of operator != for Velocity3D.
Velocity3D operator+(void) const
Overloading of operator + for Velocity3D.
Velocity3D & operator-=(const Velocity3D &pVel2)
Overloading of operator -= for Velocity3D.
float norm(const Velocity3D &pVel)
Compute the norm of a Velocity3D:
Velocity3D operator-() const
Overloading of operator - for Velocity3D.
float norm() const
Compute the norm of the actual Velocity3D:
bool operator==(const Velocity3D &pVel2) const
Overloading of operator == for Velocity3D.
Velocity3D operator*(const float pVal) const
Overloading of operator * for Velocity3D.
Position3D operator*(const Rotation &pRot, const Position3D &pPos)
Overloading of operator * between Rotation and Position3D:
Velocity3D & operator*=(const float pVal)
Overloading of operator *= for Velocity3D.
Velocity3D & operator/=(const float pVal)
Overloading of operator /= for Velocity3D.
Velocity3D & operator+=(const Velocity3D &pVel2)
Overloading of operator += for Velocity3D.
Velocity3D operator/(const float pVal) const
Overloading of operator / for Velocity3D.
Velocity3D normalize(const Velocity3D &pVel)
Normalize a Velocity3D:
Create and play with a Velocity3D.
Velocity3D normalize() const
Normalize the actual Velocity3D:
Velocity3D()
Create a Velocity3D initialize with 0.0f.