|
Zephyr Scientific Library (zscilib)
|
Represents a quaternion, a 4D structure capable of representing 3D rigid body orientations. More...
#include <quaternions.h>
Data Fields | |
| union { | |
| struct { | |
| zsl_real_t r | |
| The real component. More... | |
| zsl_real_t i | |
| The first imaginary component. More... | |
| zsl_real_t j | |
| The second imaginary component. More... | |
| zsl_real_t k | |
| The third imaginary component. More... | |
| } | |
| struct { | |
| zsl_real_t w | |
| The scalar component. More... | |
| zsl_real_t x | |
| The first vector component. More... | |
| zsl_real_t y | |
| The second vector component. More... | |
| zsl_real_t z | |
| The third vector component. More... | |
| } alias | |
| zsl_real_t idx [4] | |
| Allows access as an array. More... | |
| }; | |
Represents a quaternion, a 4D structure capable of representing 3D rigid body orientations.
Definition at line 89 of file quaternions.h.
| union { ... } |
| struct { ... } zsl_quat::alias |
| zsl_real_t zsl_quat::i |
The first imaginary component.
Definition at line 93 of file quaternions.h.
| zsl_real_t zsl_quat::idx[4] |
Allows access as an array.
Definition at line 103 of file quaternions.h.
| zsl_real_t zsl_quat::j |
The second imaginary component.
Definition at line 94 of file quaternions.h.
| zsl_real_t zsl_quat::k |
The third imaginary component.
Definition at line 95 of file quaternions.h.
| zsl_real_t zsl_quat::r |
The real component.
Definition at line 92 of file quaternions.h.
| zsl_real_t zsl_quat::w |
The scalar component.
Definition at line 98 of file quaternions.h.
| zsl_real_t zsl_quat::x |
The first vector component.
Definition at line 99 of file quaternions.h.
| zsl_real_t zsl_quat::y |
The second vector component.
Definition at line 100 of file quaternions.h.
| zsl_real_t zsl_quat::z |
The third vector component.
Definition at line 101 of file quaternions.h.
1.8.17