politopix
5.0.0
|
This class is designed to run the list of all geometric objects representing a polytope. More...
#include <GeometricObjectIterator_Rn.h>
Public Member Functions | |
constIteratorOfListOfGeometricObjects (const listOfGeometricObjects< GEOMETRIC_OBJECT > &l) | |
Constructor. More... | |
void | begin () |
Move the iterator at the beginning of the list. More... | |
void | next () |
Move the iterator one step forward. More... | |
void | setStep (unsigned int n) |
Step forward in the list geometric elements. More... | |
unsigned int | size () const |
Get the total number of stored elements. More... | |
void | advance (unsigned int n) |
Step forward in the list geometric elements. More... | |
bool | end () const |
Tell whether we have reached the end of the list. More... | |
const GEOMETRIC_OBJECT | current () |
Return the current geometric element. More... | |
void | swapElements (unsigned int ind1, unsigned int ind2) |
int | currentIteratorNumber () const |
Return the current position in the list. More... | |
Protected Attributes | |
unsigned int | _iterator |
The current position in the list. More... | |
const listOfGeometricObjects< GEOMETRIC_OBJECT > & | _list |
The actual list of geometric elements. More... | |
unsigned int | _step |
To perform a step. More... | |
This class is designed to run the list of all geometric objects representing a polytope.
Definition at line 142 of file GeometricObjectIterator_Rn.h.
|
inline |
Constructor.
Definition at line 146 of file GeometricObjectIterator_Rn.h.
|
inline |
Step forward in the list geometric elements.
Definition at line 162 of file GeometricObjectIterator_Rn.h.
|
inline |
Move the iterator at the beginning of the list.
Definition at line 150 of file GeometricObjectIterator_Rn.h.
|
inline |
Return the current geometric element.
Return the current geometric element.
Definition at line 177 of file GeometricObjectIterator_Rn.h.
|
inline |
Return the current position in the list.
Definition at line 192 of file GeometricObjectIterator_Rn.h.
|
inline |
Tell whether we have reached the end of the list.
Definition at line 174 of file GeometricObjectIterator_Rn.h.
|
inline |
Move the iterator one step forward.
Definition at line 153 of file GeometricObjectIterator_Rn.h.
|
inline |
Step forward in the list geometric elements.
Definition at line 156 of file GeometricObjectIterator_Rn.h.
|
inline |
Get the total number of stored elements.
Definition at line 159 of file GeometricObjectIterator_Rn.h.
|
inline |
Definition at line 185 of file GeometricObjectIterator_Rn.h.
|
protected |
The current position in the list.
Definition at line 196 of file GeometricObjectIterator_Rn.h.
|
protected |
The actual list of geometric elements.
Definition at line 198 of file GeometricObjectIterator_Rn.h.
|
protected |
To perform a step.
Definition at line 200 of file GeometricObjectIterator_Rn.h.