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

Go to the source code of this file.

Classes

struct  XsVector
 

Macros

#define XSVECTOR_INITIALIZER
 

Typedefs

typedef struct XsVector XsVector
 

Functions

XSTYPES_DLL_API void XsVector_ref (XsVector *thisPtr, XsSize sz, XsReal *buffer, XsDataFlags flags)
 
XSTYPES_DLL_API void XsVector_construct (XsVector *thisPtr, XsSize sz, const XsReal *src)
 
XSTYPES_DLL_API void XsVector_assign (XsVector *thisPtr, XsSize sz, const XsReal *src)
 
XSTYPES_DLL_API void XsVector_destruct (XsVector *thisPtr)
 
XSTYPES_DLL_API void XsVector_copy (XsVector *copy, XsVector const *src)
 
XSTYPES_DLL_API XsReal XsVector_dotProduct (const XsVector *a, const XsVector *b)
 
XSTYPES_DLL_API XsReal XsVector_cartesianLength (const XsVector *thisPtr)
 
XSTYPES_DLL_API void XsVector_setZero (XsVector *thisPtr)
 
XSTYPES_DLL_API int XsVector_empty (const XsVector *thisPtr)
 
XSTYPES_DLL_API void XsVector_multiplyScalar (const XsVector *thisPtr, XsReal scalar, XsVector *dest)
 
XSTYPES_DLL_API void XsVector_angularVelocityFromQuaternion (XsVector *thisPtr, XsReal deltaT, const struct XsQuaternion *quat)
 
XSTYPES_DLL_API void XsVector_swap (XsVector *a, XsVector *b)
 
XSTYPES_DLL_API void XsVector_fill (XsVector *thisPtr, XsReal value)
 
XSTYPES_DLL_API int XsVector_equal (const XsVector *thisPtr, const XsVector *thatPtr)
 

Macro Definition Documentation

◆ XSVECTOR_INITIALIZER

#define XSVECTOR_INITIALIZER
Value:
{ \
nullptr, 0, 0 \
}

Definition at line 24 of file xsvector.h.

Typedef Documentation

◆ XsVector

typedef struct XsVector XsVector

Definition at line 28 of file xsvector.h.

Function Documentation

◆ XsVector_angularVelocityFromQuaternion()

XSTYPES_DLL_API void XsVector_angularVelocityFromQuaternion ( XsVector thisPtr,
XsReal  deltaT,
const struct XsQuaternion quat 
)

◆ XsVector_assign()

XSTYPES_DLL_API void XsVector_assign ( XsVector thisPtr,
XsSize  sz,
const XsReal src 
)

◆ XsVector_cartesianLength()

XSTYPES_DLL_API XsReal XsVector_cartesianLength ( const XsVector thisPtr)

◆ XsVector_construct()

XSTYPES_DLL_API void XsVector_construct ( XsVector thisPtr,
XsSize  sz,
const XsReal src 
)

◆ XsVector_copy()

XSTYPES_DLL_API void XsVector_copy ( XsVector copy,
XsVector const *  src 
)

◆ XsVector_destruct()

XSTYPES_DLL_API void XsVector_destruct ( XsVector thisPtr)

◆ XsVector_dotProduct()

XSTYPES_DLL_API XsReal XsVector_dotProduct ( const XsVector a,
const XsVector b 
)

◆ XsVector_empty()

XSTYPES_DLL_API int XsVector_empty ( const XsVector thisPtr)

◆ XsVector_equal()

XSTYPES_DLL_API int XsVector_equal ( const XsVector thisPtr,
const XsVector thatPtr 
)

◆ XsVector_fill()

XSTYPES_DLL_API void XsVector_fill ( XsVector thisPtr,
XsReal  value 
)

◆ XsVector_multiplyScalar()

XSTYPES_DLL_API void XsVector_multiplyScalar ( const XsVector thisPtr,
XsReal  scalar,
XsVector dest 
)

◆ XsVector_ref()

XSTYPES_DLL_API void XsVector_ref ( XsVector thisPtr,
XsSize  sz,
XsReal buffer,
XsDataFlags  flags 
)

◆ XsVector_setZero()

XSTYPES_DLL_API void XsVector_setZero ( XsVector thisPtr)

◆ XsVector_swap()

XSTYPES_DLL_API void XsVector_swap ( XsVector a,
XsVector b 
)



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