Main MRPT website > C++ reference for MRPT 1.9.9
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.

Classes

struct  XsQuaternion
 

Macros

#define XSQUATERNION_INITIALIZER
 

Typedefs

typedef struct XsQuaternion XsQuaternion
 

Functions

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)
 
const XSTYPES_DLL_API 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

◆ XSQUATERNION_INITIALIZER

#define XSQUATERNION_INITIALIZER
Value:
{ \
{ \
{ \
} \
} \
}

Definition at line 22 of file xsquaternion.h.

Typedef Documentation

◆ XsQuaternion

typedef struct XsQuaternion XsQuaternion

Definition at line 30 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()

const XSTYPES_DLL_API 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 
)
XsMath_zero
const XSTYPES_DLL_API XsReal XsMath_zero



Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST