#include <surface_mesh.h>
This class circulates through all one-ring neighbors of a vertex. It also acts as a container-concept for C++11 range-based for loops.
The follow code shows how to use VertexAroundVertexCirculator:
do {
++cir;
Definition surface_mesh.h:844
VertexAroundVertexCirculator & end()
Helper for C++11 range-based for-loops.
Definition surface_mesh.h:927
This type represents a vertex (internally it is basically an index).
Definition surface_mesh.h:135
- See also
- HalfedgeAroundVertexCirculator, FaceAroundVertexCirculator, vertices()
- Examples
- Tutorial_105_SurfaceMesh_Connectivity/main.cpp.
◆ VertexAroundVertexCirculator()
Default constructor.
- Parameters
-
m | The surface mesh. |
v | The vertex. |
◆ begin()
Helper for C++11 range-based for-loops.
- Returns
- Reference to the beginning circulator.
◆ end()
Helper for C++11 range-based for-loops.
- Returns
- Reference to the ending circulator.
◆ halfedge()
Get the current halfedge.
- Returns
- The current halfedge.
◆ operator bool()
Cast to bool: true if vertex is not isolated.
- Returns
- True if the vertex is not isolated, false otherwise.
◆ operator!=()
Inequality operator.
- Parameters
-
rhs | The other circulator to compare with. |
- Returns
- True if the circulators are different, false otherwise.
◆ operator*()
Get the vertex the circulator refers to.
- Returns
- The vertex.
◆ operator++()
Pre-increment operator (rotate counter-clockwise).
- Returns
- Reference to the incremented circulator.
◆ operator--()
Pre-decrement operator (rotate clockwise).
- Returns
- Reference to the decremented circulator.
◆ operator==()
Equality operator.
- Parameters
-
rhs | The other circulator to compare with. |
- Returns
- True if the circulators are equal, false otherwise.
The documentation for this class was generated from the following file: