Face iterator in an indexed simplex set (mesh). More...
#include <IssiaFaceIterator.h>
Public Types | |
typedef Base::iterator_category | iterator_category |
Iterator category. | |
typedef Base::value_type | value_type |
Value type. | |
typedef Base::difference_type | difference_type |
Pointer difference type. | |
typedef Base::pointer | pointer |
Pointer to the value type. | |
typedef Base::reference | reference |
Reference to the value type. | |
Public Member Functions | |
Constructors for the mesh to call. | |
IssiaFaceIterator (const ISSIA *mesh, const int simplexIndex) | |
Construct a face const iterator for the mesh. | |
Constructors etc. | |
IssiaFaceIterator (const IssiaFaceIterator &other) | |
Copy constructor. | |
IssiaFaceIterator & | operator= (const IssiaFaceIterator &other) |
Assignment operator. | |
~IssiaFaceIterator () | |
Trivial destructor. | |
Forward iterator requirements | |
reference | operator* () const |
Dereference. | |
pointer | operator-> () const |
Return a const pointer to the face. | |
IssiaFaceIterator & | operator++ () |
Pre-increment. | |
IssiaFaceIterator | operator++ (int) |
Post-increment. | |
Bidirectional iterator requirements | |
IssiaFaceIterator & | operator-- () |
Pre-decrement. | |
IssiaFaceIterator | operator-- (int) |
Post-decrement. | |
Equality. | |
bool | operator== (const IssiaFaceIterator &x) |
Return true if x is an iterator to the same face. | |
bool | operator!= (const IssiaFaceIterator &x) |
Return true if x is not an iterator to the same face. |
Face iterator in an indexed simplex set (mesh).
The value type is std::pair<int,int>
. The first component is the simplex index. The second component is the local index of the face.
IssiaFaceIterator IssiaFaceIterator< ISSIA >::operator++ | ( | int | ) | [inline] |
Post-increment.
IssiaFaceIterator IssiaFaceIterator< ISSIA >::operator-- | ( | int | ) | [inline] |
Post-decrement.