#include "gcl/Quaternion.h"
Include dependency graph for Quaternion.cc:
Go to the source code of this file.
Functions | |||
Quaternion | MakeQuat (const Vector &axis, GCLReal theta) | ||
Quaternion | MakeQuat (const Vector &point) | ||
Quaternion | QuatMult (const Quaternion &a, const Quaternion &b) | ||
Quaternion | MakeQuat (const VecTrans &R) | ||
Finds an equivalent quaternion for the rotation matrix R. More... |
Quaternion MakeQuat (const VecTrans & R) |
Finds an equivalent quaternion for the rotation matrix R.
R is assumed to contain the orthonormal axes of the new (rotated) space in its columns. Code originally from spiff@cs.cmu.edu
Definition at line 71 of file Quaternion.cc.
Quaternion MakeQuat (const Vector & point) |
Definition at line 55 of file Quaternion.cc.
Quaternion MakeQuat (const Vector & axis, GCLReal theta) |
Definition at line 39 of file Quaternion.cc.
Quaternion QuatMult (const Quaternion & a, const Quaternion & b) |
Definition at line 60 of file Quaternion.cc.