Easy3D 2.5.3
|
#include <surface_mesh.h>
Public Member Functions | |
HalfedgeAroundVertexCirculator (const SurfaceMesh *m=nullptr, Vertex v=Vertex()) | |
default constructor | |
bool | operator== (const HalfedgeAroundVertexCirculator &rhs) const |
are two circulators equal? | |
bool | operator!= (const HalfedgeAroundVertexCirculator &rhs) const |
are two circulators different? | |
HalfedgeAroundVertexCirculator & | operator++ () |
pre-increment (rotate counter-clockwise) | |
HalfedgeAroundVertexCirculator & | operator-- () |
pre-decrement (rotate clockwise) | |
Halfedge | operator* () const |
get the halfedge the circulator refers to | |
operator bool () const | |
cast to bool: true if vertex is not isolated | |
HalfedgeAroundVertexCirculator & | begin () |
HalfedgeAroundVertexCirculator & | end () |
This class circulates through all outgoing halfedges of a vertex. It also acts as a container-concept for C++11 range-based for loops.
The follow code shows how to use HalfedgeAroundVertexCirculator: