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. | |
VertexIterator & | operator++ () |
pre-increment iterator | |
VertexIterator | operator++ (int) |
post-increment iterator | |
VertexIterator & | operator-- () |
pre-decrement iterator | |
VertexIterator | operator-- (int) |
post-decrement iterator | |
An iterator class to iterate linearly over all vertices.