A Rotation3D give 3 composed angles in radians.
More...
#include <alrotation3d.h>
A Rotation3D give 3 composed angles in radians.
Definition at line 21 of file alrotation3d.h.
| AL::Math::Rotation3D::Rotation3D |
( |
| ) |
|
| AL::Math::Rotation3D::Rotation3D |
( |
float |
pInit | ) |
|
|
explicit |
Create a Rotation3D initialized with the same float.
- Parameters
-
| pInit | the float value for each member |
![$ \left[\begin{array}{c} wx \\ wy \\ wz \end{array}\right] = \left[\begin{array}{c} pInit \\ pInit \\ pInit \end{array}\right]$](form_82.png)
| AL::Math::Rotation3D::Rotation3D |
( |
float |
pWx, |
|
|
float |
pWy, |
|
|
float |
pWz |
|
) |
| |
Create a Rotation3D initialized with explicit value.
![$ \left[\begin{array}{c} wx \\ wy \\ wz \end{array}\right] = \left[\begin{array}{c} pWx \\ pWy \\ pWz \end{array}\right]$](form_83.png)
- Parameters
-
| pWx | the float value for wx |
| pWy | the float value for wy |
| pWz | the float value for wz |
| AL::Math::Rotation3D::Rotation3D |
( |
const std::vector< float > & |
pFloats | ) |
|
Create a Rotation3D with an std::vector.
![$ \left[\begin{array}{c} wx \\ wy \\ wz \end{array}\right] = \left[\begin{array}{c} pFloats[0] \\ pFloats[1] \\ pFloats[2] \end{array}\right]$](form_84.png)
- Parameters
-
| pFloats | An std::vector<float> of size 3 for respectively: wx, wy and wz |
| bool AL::Math::Rotation3D::isNear |
( |
const Rotation3D & |
pRot2, |
|
|
const float & |
pEpsilon = 0.0001f |
|
) |
| const |
Check if the actual Rotation3D is near the one given in argument.
- Parameters
-
| pRot2 | the second Rotation3D |
| pEpsilon | an optional epsilon distance |
- Returns
- true if the difference of each float of the two Rotation3D is less than pEpsilon
| float AL::Math::Rotation3D::norm |
( |
| ) |
const |
| bool AL::Math::Rotation3D::operator!= |
( |
const Rotation3D & |
pRot2 | ) |
const |
Overloading of operator != for Rotation3D.
- Parameters
-
| Rotation3D AL::Math::Rotation3D::operator* |
( |
const float |
pVal | ) |
const |
|
inline |
| Rotation3D& AL::Math::Rotation3D::operator*= |
( |
const float |
pVal | ) |
|
Overloading of operator *= for Rotation3D.
- Parameters
-
Overloading of operator += for Rotation3D.
- Parameters
-
Overloading of operator -= for Rotation3D.
- Parameters
-
| Rotation3D AL::Math::Rotation3D::operator/ |
( |
const float |
pVal | ) |
const |
Overloading of operator / for Rotation3D.
- Parameters
-
| Rotation3D& AL::Math::Rotation3D::operator/= |
( |
const float |
pVal | ) |
|
Overloading of operator /= for Rotation3D.
- Parameters
-
| bool AL::Math::Rotation3D::operator== |
( |
const Rotation3D & |
pRot2 | ) |
const |
Overloading of operator == for Rotation3D.
- Parameters
-
| void AL::Math::Rotation3D::toVector |
( |
std::vector< float > & |
pReturnVector | ) |
const |
Return the Rotation3D as a vector of float [wx, wy, wz].
| std::vector<float> AL::Math::Rotation3D::toVector |
( |
void |
| ) |
const |
| float AL::Math::Rotation3D::wx |
| float AL::Math::Rotation3D::wy |
| float AL::Math::Rotation3D::wz |
The documentation for this struct was generated from the following file:
- /home/opennao/work/release-2.5/lib/libalmath/almath/types/alrotation3d.h