GitHub link
The Polygon Mesh Processing Library
SurfaceMesh::VertexIterator Class Reference

An iterator class to iterate linearly over all vertices.

#include <pmp/SurfaceMesh.h>

Public Member Functions

 VertexIterator (Vertex v=Vertex(), const SurfaceMesh *m=nullptr)
 Default constructor.
Vertex operator* () const
 get the vertex the iterator refers to
bool operator== (const VertexIterator &rhs) const
 are two iterators equal?
bool operator!= (const VertexIterator &rhs) const
 are two iterators different?
VertexIteratoroperator++ ()
 pre-increment iterator
VertexIterator operator++ (int)
 post-increment iterator
VertexIteratoroperator-- ()
 pre-decrement iterator