Polygon Mesh Processing Library
Loading...
Searching...
No Matches
SurfaceMesh::VertexIterator Class Reference

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

#include <pmp/surface_mesh.h>

Public Member Functions

 VertexIterator (Vertex v=Vertex(), const SurfaceMesh *m=nullptr)
 Default constructor.
 
Vertex operator* () const
 get the vertex the iterator refers to
 
auto operator<=> (const VertexIterator &rhs) const =default
 Three-way comparison operator.
 
VertexIteratoroperator++ ()
 pre-increment iterator
 
VertexIterator operator++ (int)
 post-increment iterator
 
VertexIteratoroperator-- ()
 pre-decrement iterator
 
VertexIterator operator-- (int)
 post-decrement iterator
 

Detailed Description

An iterator class to iterate linearly over all vertices.