Easy3D 2.6.1
|
#include <surface_mesh.h>
Public Member Functions | |
VertexAroundFaceCirculator (const SurfaceMesh *m=nullptr, Face f=Face()) | |
Default constructor. | |
bool | operator== (const VertexAroundFaceCirculator &rhs) const |
Equality operator. | |
bool | operator!= (const VertexAroundFaceCirculator &rhs) const |
Inequality operator. | |
VertexAroundFaceCirculator & | operator++ () |
Pre-increment operator (rotate counter-clockwise). | |
VertexAroundFaceCirculator & | operator-- () |
Pre-decrement operator (rotate clockwise). | |
Vertex | operator* () const |
Get the vertex the circulator refers to. | |
VertexAroundFaceCirculator & | begin () |
Helper for C++11 range-based for-loops. | |
VertexAroundFaceCirculator & | end () |
Helper for C++11 range-based for-loops. | |
This class circulates through the vertices of a face. It also acts as a container-concept for C++11 range-based for loops.
The follow code shows how to use VertexAroundFaceCirculator:
|
inlineexplicit |
Default constructor.
m | The surface mesh. |
f | The face. |
|
inline |
Helper for C++11 range-based for-loops.
|
inline |
Helper for C++11 range-based for-loops.
|
inline |
Inequality operator.
rhs | The other circulator to compare with. |
|
inline |
Get the vertex the circulator refers to.
|
inline |
Pre-increment operator (rotate counter-clockwise).
|
inline |
Pre-decrement operator (rotate clockwise).
|
inline |
Equality operator.
rhs | The other circulator to compare with. |