pmp-library  1.0
SurfaceMesh::VertexAroundVertexCirculator Class Reference

this class circulates through all one-ring neighbors of a vertex. More...

#include <pmp/SurfaceMesh.h>

Public Member Functions

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

Detailed Description

this class circulates through all one-ring neighbors of a vertex.

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

See also
HalfedgeAroundVertexCirculator, vertices(Vertex)