A simplex iterator for a mesh. More...
#include <SimplexIterator.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. | |
typedef ISS | IssType |
Indexed simplex set (mesh). | |
Public Member Functions | |
Constructors etc. | |
SimplexIterator (const IssType &iss) | |
Construct a simplex iterator for a mesh. | |
SimplexIterator (const SimplexIterator &other) | |
Copy constructor. | |
SimplexIterator & | operator= (const SimplexIterator &other) |
Assignment operator. | |
~SimplexIterator () | |
Destructor. | |
Forward iterator requirements | |
reference | operator* () const |
Dereference. | |
pointer | operator-> () const |
Pointer dereference. | |
SimplexIterator & | operator++ () |
Pre-increment. | |
SimplexIterator | operator++ (int) |
Post-increment. | |
Bidirectional iterator requirements | |
SimplexIterator & | operator-- () |
Pre-decrement. | |
SimplexIterator | operator-- (int) |
Post-decrement. | |
Random access iterator requirements | |
reference | operator[] (const difference_type n) const |
Iterator indexing. | |
SimplexIterator & | operator+= (const difference_type n) |
Positive offseting. | |
SimplexIterator | operator+ (const difference_type n) const |
Positive offseting. | |
SimplexIterator & | operator-= (const difference_type n) |
Negative offseting. | |
SimplexIterator | operator- (const difference_type n) const |
Negative offseting. | |
int | getBase () const |
Return the index. |
A simplex iterator for a mesh.
ISS | is the mesh. |
This is a const iterator.
SimplexIterator< ISS >::SimplexIterator | ( | const IssType & | iss | ) | [inline] |
Construct a simplex iterator for a mesh.
It is initialized to point to the first simplex.
SimplexIterator SimplexIterator< ISS >::operator+ | ( | const difference_type | n | ) | const [inline] |
Positive offseting.
+=
instead. SimplexIterator SimplexIterator< ISS >::operator++ | ( | int | ) | [inline] |
Post-increment.
SimplexIterator SimplexIterator< ISS >::operator- | ( | const difference_type | n | ) | const [inline] |
Negative offseting.
-=
instead. SimplexIterator SimplexIterator< ISS >::operator-- | ( | int | ) | [inline] |
Post-decrement.