#include <PositionPath.h>
Public Attributes | |
float | x |
float | y |
float | z |
float | roll |
float | pitch |
float | yaw |
A 6 degrees of freedom position that specifies translation and orientation in 3D space. The position is given by a set of 3 coordinates that determine the translation and three additional rotation angles in degrees. When applying a position in 3D space, the object is first translated in x y and z direction by the respective x y and z values and then rotated following the RPY-convention. This means, that the object is first rotated around its x axis (roll), then around its current y axis (pitch) and finally around its current z axis (yaw).
Using such a position to place an object in 3D space may not be as elegant and robust as using quaternions, but it is pretty intuitive when designing scenes.
Definition at line 31 of file PositionPath.h.