12 Quaternionf(
float w,
float x,
float y,
float z) : w_(w), x_(x), y_(y), z_(z) {}
14 #ifndef DOXYGEN_OMIT_INTERNAL 15 Quaternionf(
const HebiQuaternionf& src) : w_(src.w), x_(src.x), y_(src.y), z_(src.z) {}
18 #endif // DOXYGEN_OMIT_INTERNAL 21 float getW()
const {
return w_; }
23 float getX()
const {
return x_; }
25 float getY()
const {
return y_; }
27 float getZ()
const {
return z_; }
float getY() const
Returns the Y component of the quaternion.
Definition: quaternion_f.hpp:25
float getW() const
Returns the W component of the quaternion.
Definition: quaternion_f.hpp:21
float getZ() const
Returns the Z component of the quaternion.
Definition: quaternion_f.hpp:27
Structure to hold a floating point quaternion (i.e., w/x/y/z components)
Definition: quaternion_f.hpp:8
float getX() const
Returns the X component of the quaternion.
Definition: quaternion_f.hpp:23
Quaternionf(float w, float x, float y, float z)
Create a floating point quaternion from three floating point components.
Definition: quaternion_f.hpp:12