GitHub link
The Polygon Mesh Processing Library
SurfaceMesh::FaceAroundVertexCirculator Class Reference

this class circulates through all incident faces of a vertex. More...

#include <pmp/SurfaceMesh.h>

Public Member Functions

 FaceAroundVertexCirculator (const SurfaceMesh *m=nullptr, Vertex v=Vertex())
 construct with mesh and vertex (vertex should not be isolated!)
bool operator== (const FaceAroundVertexCirculator &rhs) const
 are two circulators equal?
bool operator!= (const FaceAroundVertexCirculator &rhs) const
 are two circulators different?
FaceAroundVertexCirculatoroperator++ ()
 pre-increment (rotates counter-clockwise)
FaceAroundVertexCirculatoroperator-- ()
 pre-decrement (rotate clockwise)
Face operator* () const
 get the face the circulator refers to
 operator bool () const
 cast to bool: true if vertex is not isolated

Detailed Description

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

See also
VertexAroundVertexCirculator, HalfedgeAroundVertexCirculator, faces(Vertex)