Simbody  3.7
CoordinateAxis.h File Reference

Defines the CoordinateAxis and CoordinateDirection classes. More...

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

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

Variables

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. More...
 
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. More...
 
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. More...
 
const CoordinateDirection::NegXDirection SimTK::NegXAxis
 Global constant indicating -X coordinate direction. More...
 
const CoordinateDirection::NegYDirection SimTK::NegYAxis
 Global constant indicating -Y coordinate direction. More...
 
const CoordinateDirection::NegZDirection SimTK::NegZAxis
 Global constant indicating -Z coordinate direction. More...
 

Detailed Description

Defines the CoordinateAxis and CoordinateDirection classes.