Go to the documentation of this file.
76 #define XSEULER_INITIALIZER { { { XsMath_zero,XsMath_zero,XsMath_zero } } }
134 inline bool empty()
const
161 inline bool operator != (
const XsEuler& other)
const
167 inline XsReal roll()
const
172 inline XsReal pitch()
const
199 inline bool isEqual(
const XsEuler& other,
XsReal tolerance)
const
201 return fabs(
m_x - other.
m_x) <= tolerance &&
202 fabs(
m_y - other.
m_y) <= tolerance &&
203 fabs(
m_z - other.
m_z) <= tolerance;
A class that represents a matrix of real numbers.
A class that represents a vector of real numbers.
XsReal m_pitch
Stores the pitch component of the euler triplet.
XsReal m_x
Stores the x component of the euler triplet.
A class that implements a quaternion.
bool operator==(const XsFilterProfile &lhs, const XsFilterProfile &rhs)
Returns true if lhs has the same type as rhs.
double XsReal
Defines the floating point type used by the Xsens libraries.
XsReal m_data[3]
Stores the euler triplet in an array of three elements.
size_t XsSize
XsSize must be unsigned number!
XsReal m_z
Stores the z component of the euler triplet.
XSMATHCONST XsReal XsMath_zero
0
void XsEuler_destruct(XsEuler *thisPtr)
Clears all angles in the XsEuler object by setting them to 0.
XsReal m_yaw
Stores the yaw component of the euler triplet.
void XsEuler_fromQuaternion(XsEuler *thisPtr, const XsQuaternion *quat)
Get an euler angle representation of the quaternion.
Contains Euler Angle data and conversion from Quaternion.
XsReal m_roll
Stores the roll component of the euler triplet.
XsReal m_y
Stores the y component of the euler triplet.
int XsEuler_empty(const XsEuler *thisPtr)
Returns true if all angles in this object are zero.