GEL  2
GEL is a library for Geometry and Linear Algebra
Public Member Functions
CGLA::Quatd Class Reference

A float based Quaterinion class. More...

#include <Quatd.h>

Inherits CGLA::ArithQuat< double, Vec3d, Quatd >.

List of all members.

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.

Detailed Description

A float based Quaterinion class.

Quaternions are algebraic entities useful for rotation.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations