Quaternion.h File Reference

#include "SimTKcommon/SmallMatrix.h"
#include "SimTKcommon/internal/UnitVec.h"
#include <iosfwd>

Go to the source code of this file.

Classes

class  Quaternion_< P >
 A Quaternion is a Vec4 with the following behavior:

  • its length is always 1 (or else it is all NaN)
  • it is equivalent to an angle/axis rotation for angle a, axis unit vector v, as: q = [ cos(a/2) sin(a/2)*v ] A quaternion is in "canonical form" when its first element is nonnegative.
More...

Namespaces

namespace  SimTK
 

This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with other symbols.


Typedefs

typedef Quaternion_< Real > Quaternion
typedef Quaternion_< float > fQuaternion
typedef Quaternion_< double > dQuaternion

Generated on Thu Aug 12 16:37:42 2010 for SimTKcore by  doxygen 1.6.1