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

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

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

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)

Member Function Documentation

◆ halfedge()

Halfedge halfedge ( ) const
inline
Returns
the current halfedge