Struct Quaternionf

Struct Documentation

struct Quaternionf

Structure to hold a floating point quaternion (i.e., w/x/y/z components)

Public Functions

inline Quaternionf(float w, float x, float y, float z)

Create a floating point quaternion from three floating point components.

inline Quaternionf(const HebiQuaternionf &src)

Method to create a C++ scoped hebi::Quaternionf object from an internal HEBI C API pointer. Internal use only.

inline float getW() const

Returns the W component of the quaternion.

inline float getX() const

Returns the X component of the quaternion.

inline float getY() const

Returns the Y component of the quaternion.

inline float getZ() const

Returns the Z component of the quaternion.