Algorithms_in_C 1.0.0
Set of algorithms implemented in C.
Loading...
Searching...
No Matches

a Quaternion type represented using a scalar \(w\) or \(q_0\) and a 3D vector \(\left(q_1,q_2,q_3\right)\) More...

#include <geometry_datatypes.h>

Collaboration diagram for quaternion_:
[legend]

Data Fields

union { 
 
   float   w 
 real part of quaternion
 
   float   q0 
 real part of quaternion
 
};  
 dual part of quaternion
 
union { 
 
   vec_3d   dual 
 can be a 3D vector
 
   struct { 
 
      float   q1 
 
      float   q2 
 
      float   q3 
 
   }  
 or individual values
 
};  
 

Detailed Description

a Quaternion type represented using a scalar \(w\) or \(q_0\) and a 3D vector \(\left(q_1,q_2,q_3\right)\)


The documentation for this struct was generated from the following file: