Class SurfaceMesh::FaceAroundVertexCirculator

Nested Relationships

This class is a nested type of Class SurfaceMesh.

Class Documentation

class FaceAroundVertexCirculator

this class circulates through all incident faces of a vertex. it also acts as a container-concept for C++11 range-based for loops.

Public Functions

inline FaceAroundVertexCirculator(const SurfaceMesh *m, Vertex v)

construct with mesh and vertex (vertex should not be isolated!)

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

are two circulators equal?

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

are two circulators different?

inline FaceAroundVertexCirculator &operator++()

pre-increment (rotates counter-clockwise)

inline FaceAroundVertexCirculator &operator--()

pre-decrement (rotate clockwise)

inline Face operator*() const

get the face the circulator refers to

inline operator bool() const

cast to bool: true if vertex is not isolated

inline FaceAroundVertexCirculator &begin()
inline FaceAroundVertexCirculator &end()