pmp-library  1.0
SurfaceMesh::VertexIterator Class Reference

An iterator class to iterate linearly over all vertices. More...

#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
 
VertexIteratoroperator-- ()
 pre-decrement iterator
 

Detailed Description

An iterator class to iterate linearly over all vertices.