Patate Lib  0.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Vitelotte::VGMesh< _Scalar, _Dims, _Coeffs >::NodeIterator Class Reference

Detailed Description

template<typename _Scalar, int _Dims = 2, int _Coeffs = 4>
class Vitelotte::VGMesh< _Scalar, _Dims, _Coeffs >::NodeIterator

this class iterates linearly over all nodes

See Also
nodesBegin(), nodesEnd()

Public Member Functions

 NodeIterator (Node n=Node(), const Self *m=NULL)
 Default constructor.
 
Node operator* () const
 get the node the iterator refers to
 
bool operator== (const NodeIterator &rhs) const
 are two iterators equal?
 
bool operator!= (const NodeIterator &rhs) const
 are two iterators different?
 
NodeIteratoroperator++ ()
 pre-increment iterator
 
NodeIteratoroperator-- ()
 pre-decrement iterator