Class SurfaceMesh::HalfedgeAroundVertexCirculator

Nested Relationships

This class is a nested type of Class SurfaceMesh.

Class Documentation

class HalfedgeAroundVertexCirculator

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)

Public Functions

inline HalfedgeAroundVertexCirculator(const SurfaceMesh *mesh, Vertex v)

default constructor

inline bool operator==(const HalfedgeAroundVertexCirculator &rhs) const

are two circulators equal?

inline bool operator!=(const HalfedgeAroundVertexCirculator &rhs) const

are two circulators different?

inline HalfedgeAroundVertexCirculator &operator++()

pre-increment (rotate couter-clockwise)

inline HalfedgeAroundVertexCirculator &operator--()

pre-decrement (rotate clockwise)

inline Halfedge operator*() const

get the halfedge the circulator refers to

inline operator bool() const

cast to bool: true if vertex is not isolated

inline HalfedgeAroundVertexCirculator &begin()
inline HalfedgeAroundVertexCirculator &end()