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