pmp-library  1.0
SurfaceMesh::HalfedgeAroundVertexCirculator Class Reference

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

#include <pmp/SurfaceMesh.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 couter-clockwise)
 
HalfedgeAroundVertexCirculatoroperator-- ()
 pre-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)