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

this class circulates through all outgoing halfedges of a vertex. More...

#include <pmp/surface_mesh.h>

Public Member Functions

 HalfedgeAroundVertexCirculator (const SurfaceMesh *mesh=nullptr, Vertex v=Vertex())
 default constructor
 
bool operator== (const HalfedgeAroundVertexCirculator &rhs) const
 are two circulators equal?
 
bool operator!= (const HalfedgeAroundVertexCirculator &rhs) const
 are two circulators different?
 
HalfedgeAroundVertexCirculatoroperator++ ()
 pre-increment (rotate counter-clockwise)
 
HalfedgeAroundVertexCirculator operator++ (int)
 post-increment (rotate counter-clockwise)
 
HalfedgeAroundVertexCirculatoroperator-- ()
 pre-decrement (rotate clockwise)
 
HalfedgeAroundVertexCirculator operator-- (int)
 post-decrement (rotate clockwise)
 
Halfedge operator* () const
 get the halfedge the circulator refers to
 
 operator bool () const
 cast to bool: true if vertex is not isolated
 

Detailed Description

this class circulates through all outgoing halfedges of a vertex.

it also acts as a container-concept for C++11 range-based for loops.

See also
VertexAroundVertexCirculator, halfedges(Vertex)