Simbody
Classes | Namespaces | Variables

CoordinateAxis.h File Reference

Defines the CoordinateAxis and CoordinateDirection classes. More...

#include <cassert>

Go to the source code of this file.

Classes

class  SimTK::CoordinateAxis
 This class, along with its sister class CoordinateDirection, provides convenient manipulation of the three coordinate axes via the definition of three constants XAxis, YAxis, and ZAxis each with a unique subtype and implicit conversion to the integers 0, 1, and 2 whenever necessary. Methods are provided to allow code to be written once that can be used to work with the axes in any order. More...
class  SimTK::CoordinateAxis::XCoordinateAxis
class  SimTK::CoordinateAxis::YCoordinateAxis
class  SimTK::CoordinateAxis::ZCoordinateAxis
class  SimTK::CoordinateDirection
 A CoordinateDirection is a CoordinateAxis plus a direction indicating the positive or negative direction along that axis. More...
class  SimTK::CoordinateDirection::Negative
 Use for compile-time construction of a negative CoordinateDirection along one of the coordinate axes. More...
class  SimTK::CoordinateDirection::NegXDirection
class  SimTK::CoordinateDirection::NegYDirection
class  SimTK::CoordinateDirection::NegZDirection

Namespaces

namespace  SimTK
 

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


Variables

static const
CoordinateAxis::XCoordinateAxis 
SimTK::XAxis
 Constant representing the X coordinate axis; will implicitly convert to the integer 0 when used in a context requiring an integer.
static const
CoordinateAxis::YCoordinateAxis 
SimTK::YAxis
 Constant representing the Y coordinate axis; will implicitly convert to the integer 1 when used in a context requiring an integer.
static const
CoordinateAxis::ZCoordinateAxis 
SimTK::ZAxis
 Constant representing the Z coordinate axis; will implicitly convert to the integer 2 when used in a context requiring an integer.
static const
CoordinateDirection::NegXDirection 
SimTK::NegXAxis
static const
CoordinateDirection::NegYDirection 
SimTK::NegYAxis
static const
CoordinateDirection::NegZDirection 
SimTK::NegZAxis

Detailed Description

Defines the CoordinateAxis and CoordinateDirection classes.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines