GEL
2
GEL is a library for Geometry and Linear Algebra
|
A float based Quaterinion class. More...
#include <Quatd.h>
Inherits CGLA::ArithQuat< double, Vec3d, Quatd >.
Public Member Functions | |
Quatd (const Vec3d &imaginary, double real=1.0) | |
Construct quaternion from vector and scalar. | |
Quatd (double x, double y, double z, double _qw) | |
Construct quaternion from four scalars. | |
Quatd (const Vec4d &v) | |
Construct quaternion from a 4D vector. | |
Mat3x3d | get_Mat3x3d () const |
Get a 3x3 rotation matrix from a quaternion. | |
Mat4x4d | get_Mat4x4d () const |
Get a 4x4 rotation matrix from a quaternion. | |
Quatd | identity_Quatd () |
Create an identity quaternion. |
A float based Quaterinion class.
Quaternions are algebraic entities useful for rotation.