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

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

#include <pmp/surface_mesh.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)
 
FaceAroundVertexCirculator operator++ (int)
 post-increment (rotate counter-clockwise)
 
FaceAroundVertexCirculatoroperator-- ()
 pre-decrement (rotate clockwise)
 
FaceAroundVertexCirculator operator-- (int)
 post-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

this class circulates through all incident faces of a vertex.

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

See also
VertexAroundVertexCirculator, HalfedgeAroundVertexCirculator, faces(Vertex)