chrono::quaternion Class Reference
Description
Chrono multicore quaternion class.
#include <real4.h>
Public Member Functions | |
| CUDA_HOST_DEVICE | quaternion (real a) |
| CUDA_HOST_DEVICE | quaternion (real _w, real _x, real _y, real _z) |
| CUDA_HOST_DEVICE | quaternion (const real3 &v, real w) |
| CUDA_HOST_DEVICE real | operator[] (unsigned int i) const |
| CUDA_HOST_DEVICE real & | operator[] (unsigned int i) |
| CUDA_HOST_DEVICE | operator real * () |
| CUDA_HOST_DEVICE | operator const real * () const |
| CUDA_HOST_DEVICE quaternion & | operator= (const quaternion &rhs) |
| CUDA_HOST_DEVICE real3 | vect () const |
Public Attributes | ||
| union { | ||
| real array [4] | ||
| struct { | ||
| real w | ||
| real x | ||
| real y | ||
| real z | ||
| } | ||
| }; | ||
The documentation for this class was generated from the following file:
- C:/M/B/src/chrono-9.0.1/src/chrono/multicore_math/real4.h