OpenGP  1.1
Open Geometry Processing Library
Public Member Functions | List of all members
OpenGP::SurfaceMesh::Vertex_around_vertex_circulator Class Reference

#include <SurfaceMesh.h>

Public Member Functions

 Vertex_around_vertex_circulator (const SurfaceMesh *m=NULL, Vertex v=Vertex())
 default constructor
 
bool operator== (const Vertex_around_vertex_circulator &rhs) const
 are two circulators equal?
 
bool operator!= (const Vertex_around_vertex_circulator &rhs) const
 are two circulators different?
 
Vertex_around_vertex_circulatoroperator++ ()
 pre-increment (rotate couter-clockwise)
 
Vertex_around_vertex_circulatoroperator-- ()
 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
Halfedge_around_vertex_circulator, Face_around_vertex_circulator, vertices(Vertex)

The documentation for this class was generated from the following file: