Class SurfaceMesh::VertexAroundVertexCirculator
Defined in File SurfaceMesh.h
Nested Relationships
This class is a nested type of Class SurfaceMesh.
Class Documentation
-
class VertexAroundVertexCirculator
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)
Public Functions
-
inline VertexAroundVertexCirculator(const SurfaceMesh *mesh, Vertex v)
default constructor
-
inline bool operator==(const VertexAroundVertexCirculator &rhs) const
are two circulators equal?
-
inline bool operator!=(const VertexAroundVertexCirculator &rhs) const
are two circulators different?
-
inline VertexAroundVertexCirculator &operator++()
pre-increment (rotate couter-clockwise)
-
inline VertexAroundVertexCirculator &operator--()
pre-decrement (rotate clockwise)
-
inline Vertex operator*() const
get the vertex the circulator refers to
-
inline operator bool() const
cast to bool: true if vertex is not isolated
-
inline Halfedge halfedge() const
return current halfedge
-
inline VertexAroundVertexCirculator &begin()
-
inline VertexAroundVertexCirculator &end()
-
inline VertexAroundVertexCirculator(const SurfaceMesh *mesh, Vertex v)