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