Simbody
Classes | Namespaces | Typedefs

UnitVec.h File Reference

Declares and defines the UnitVec and UnitRow classes. More...

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

Go to the source code of this file.

Classes

class  SimTK::UnitVec< P, S >
 This class is a Vec3 plus an ironclad guarantee either that:

  • the length is one (to within a very small tolerance), or
  • all components are NaN.
More...
class  SimTK::UnitRow< P, S >
 This type is used for the transpose of UnitVec, and as the returned row type of a Rotation. 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 UnitVec< Real, 1 > SimTK::UnitVec3
typedef UnitVec< float, 1 > SimTK::fUnitVec3
typedef UnitVec< double, 1 > SimTK::dUnitVec3

Detailed Description

Declares and defines the UnitVec and UnitRow classes.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines