|
My Project
|
#include <RegCoord.h>
Public Member Functions | |
| RegCoord () | |
| RegCoord (RegCoord *coord) | |
| RegCoord (unsigned ind1) | |
| RegCoord (unsigned ind1, unsigned ind2) | |
| RegCoord (unsigned ind1, unsigned ind2, unsigned ind3) | |
| virtual | ~RegCoord () |
| void | setIndex (unsigned nAxis, unsigned index) |
| void | reset (unsigned nAxis=1) |
| unsigned | nAxis () |
| unsigned int | getIndex (unsigned iAxis) |
A class for specifying a coordinate in a multi-dimensional space. Supports up to three dimensions at the moment.
| RegCoord::RegCoord | ( | ) |
Constructors.
....................................................................... Constructors.
|
virtual |
Destructor.
....................................................................... Destructor.
| unsigned int RegCoord::getIndex | ( | unsigned | iAxis | ) |
Return the coordinate index for axis iAxis
....................................................................... Return the coordinate index for axis iAxis
| unsigned RegCoord::nAxis | ( | ) |
Return the number of axes in this coordinate nTuplet.
....................................................................... Return the number of axes in this coordinate nTuplet.
| void RegCoord::reset | ( | unsigned | nAxis = 1 | ) |
Reset the coordinate ntuplet
....................................................................... Reset the coordinate ntuplet
| void RegCoord::setIndex | ( | unsigned | iAxis, |
| unsigned | index | ||
| ) |
Set the coordinate index of the requested axis
....................................................................... Set the coordinate index of the requested axis