Main MRPT website > C++ reference for MRPT 1.5.5
Classes | Macros | Typedefs | Functions
xsquaternion.h File Reference
#include "xsmath.h"
Include dependency graph for xsquaternion.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  XsQuaternion


#define XSQUATERNION_INITIALIZER   { { { XsMath_zero, XsMath_zero, XsMath_zero, XsMath_zero } } }


typedef struct XsQuaternion XsQuaternion


XSTYPES_DLL_API void XsQuaternion_destruct (XsQuaternion *thisPtr)
XSTYPES_DLL_API int XsQuaternion_empty (const XsQuaternion *thisPtr)
XSTYPES_DLL_API void XsQuaternion_inverse (const XsQuaternion *thisPtr, XsQuaternion *dest)
XSTYPES_DLL_API XsReal XsQuaternion_normalized (const XsQuaternion *thisPtr, XsQuaternion *dest)
XSTYPES_DLL_API XsReal XsQuaternion_normalize (XsQuaternion *thisPtr)
XSTYPES_DLL_API void XsQuaternion_fromEulerAngles (XsQuaternion *thisPtr, const struct XsEuler *src)
XSTYPES_DLL_API void XsQuaternion_fromRotationMatrix (XsQuaternion *thisPtr, const struct XsMatrix *ori)
XSTYPES_DLL_API const XsQuaternionXsQuaternion_identity (void)
XSTYPES_DLL_API void XsQuaternion_multiply (const XsQuaternion *left, const XsQuaternion *right, XsQuaternion *dest)
XSTYPES_DLL_API void XsQuaternion_swap (XsQuaternion *a, XsQuaternion *b)
XSTYPES_DLL_API void XsQuaternion_copy (XsQuaternion *copy, XsQuaternion const *src)
XSTYPES_DLL_API int XsQuaternion_equal (XsQuaternion const *a, XsQuaternion const *b)

Macro Definition Documentation


#define XSQUATERNION_INITIALIZER   { { { XsMath_zero, XsMath_zero, XsMath_zero, XsMath_zero } } }

Definition at line 22 of file xsquaternion.h.

Typedef Documentation

◆ XsQuaternion

typedef struct XsQuaternion XsQuaternion

Definition at line 23 of file xsquaternion.h.

Function Documentation

◆ XsQuaternion_copy()

XSTYPES_DLL_API void XsQuaternion_copy ( XsQuaternion copy,
XsQuaternion const *  src 

◆ XsQuaternion_destruct()

XSTYPES_DLL_API void XsQuaternion_destruct ( XsQuaternion thisPtr)

◆ XsQuaternion_empty()

XSTYPES_DLL_API int XsQuaternion_empty ( const XsQuaternion thisPtr)

◆ XsQuaternion_equal()

XSTYPES_DLL_API int XsQuaternion_equal ( XsQuaternion const *  a,
XsQuaternion const *  b 

◆ XsQuaternion_fromEulerAngles()

XSTYPES_DLL_API void XsQuaternion_fromEulerAngles ( XsQuaternion thisPtr,
const struct XsEuler src 

◆ XsQuaternion_fromRotationMatrix()

XSTYPES_DLL_API void XsQuaternion_fromRotationMatrix ( XsQuaternion thisPtr,
const struct XsMatrix ori 

◆ XsQuaternion_identity()

XSTYPES_DLL_API const XsQuaternion* XsQuaternion_identity ( void  )

◆ XsQuaternion_inverse()

XSTYPES_DLL_API void XsQuaternion_inverse ( const XsQuaternion thisPtr,
XsQuaternion dest 

◆ XsQuaternion_multiply()

XSTYPES_DLL_API void XsQuaternion_multiply ( const XsQuaternion left,
const XsQuaternion right,
XsQuaternion dest 

◆ XsQuaternion_normalize()

XSTYPES_DLL_API XsReal XsQuaternion_normalize ( XsQuaternion thisPtr)

◆ XsQuaternion_normalized()

XSTYPES_DLL_API XsReal XsQuaternion_normalized ( const XsQuaternion thisPtr,
XsQuaternion dest 

◆ XsQuaternion_swap()

XSTYPES_DLL_API void XsQuaternion_swap ( XsQuaternion a,
XsQuaternion b 

Page generated by Doxygen 1.8.14 for MRPT 1.5.5 Git: e06b63dbf Fri Dec 1 14:41:11 2017 +0100 at lun oct 28 01:31:35 CET 2019