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

this class iterates linearly over all halfedges More...

#include <pmp/surface_mesh.h>

Public Member Functions

 HalfedgeIterator (Halfedge h=Halfedge(), const SurfaceMesh *mesh=nullptr)
 Default constructor.
 
Halfedge operator* () const
 get the halfedge the iterator refers to
 
auto operator<=> (const HalfedgeIterator &rhs) const =default
 Three-way comparison operator.
 
HalfedgeIteratoroperator++ ()
 pre-increment iterator
 
HalfedgeIterator operator++ (int)
 post-increment iterator
 
HalfedgeIteratoroperator-- ()
 pre-decrement iterator
 
HalfedgeIterator operator-- (int)
 post-decrement iterator
 

Detailed Description

this class iterates linearly over all halfedges

See also
halfedges_begin(), halfedges_end()
VertexIterator, EdgeIterator, FaceIterator