HEBI C++ API  3.10.0
hebi::Quaternionf Struct Reference

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

#include <quaternion_f.hpp>

Public Member Functions

 Quaternionf (float w, float x, float y, float z)
 Create a floating point quaternion from three floating point components. More...
 
float getW () const
 Returns the W component of the quaternion. More...
 
float getX () const
 Returns the X component of the quaternion. More...
 
float getY () const
 Returns the Y component of the quaternion. More...
 
float getZ () const
 Returns the Z component of the quaternion. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Quaternionf()

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

Create a floating point quaternion from three floating point components.

Member Function Documentation

◆ getW()

float hebi::Quaternionf::getW ( ) const
inline

Returns the W component of the quaternion.

◆ getX()

float hebi::Quaternionf::getX ( ) const
inline

Returns the X component of the quaternion.

◆ getY()

float hebi::Quaternionf::getY ( ) const
inline

Returns the Y component of the quaternion.

◆ getZ()

float hebi::Quaternionf::getZ ( ) const
inline

Returns the Z component of the quaternion.


The documentation for this struct was generated from the following file: