Rotation angle struct. More...
Public Member Functions | |
| RotationAngles3D (Angle alpha, Angle beta, Angle gamma) | |
| Constructor. | |
| RotationAngles3D (Matrix3D matrix) | |
| Constructor. | |
Properties | |
| Angle | Alpha [get] |
| Rotation angle around x axis. | |
| Angle | Beta [get] |
| Rotation angle around y axis. | |
| Angle | Gamma [get] |
| Rotation angle around z axis. | |
| Angle | Roll [get] |
| The roll angle. | |
| Angle | Pitch [get] |
| The pitch angle. | |
| Angle | Yaw [get] |
| The yaw angle. | |
Rotation angle struct.
| RotationAngles3D | ( | Angle | alpha, |
| Angle | beta, | ||
| Angle | gamma ) |
Constructor.
| alpha | Rotation angle around x axis. |
| beta | Rotation angle around y axis. |
| gamma | Rotation angle around z axis. |
| RotationAngles3D | ( | Matrix3D | matrix | ) |
Constructor.
The rotation angles are calculated from the given matrix. The matrix is interpreted as a rotation matrix R:
where
alpha, beta, gamma are the rotation angles around x, y, z.
In addition roll, pitch and yaw are calculated assuming the given rotation matrix is defined after the z-y′-x″ convention (see https://en.wikipedia.org/wiki/Euler_angles).
| matrix | 3D matrix to create rotation angles from. |