#include <surface_mesh.h>
This class circulates through all halfedges of a face. It also acts as a container-concept for C++11 range-based for loops.
The following code shows how to use HalfedgeAroundFaceCirculator:
do {
++cir;
Definition surface_mesh.h:1265
HalfedgeAroundFaceCirculator & end()
Helper for C++11 range-based for-loops.
Definition surface_mesh.h:1333
This type represents a halfedge (internally it is basically an index).
Definition surface_mesh.h:155
- See also
- VertexAroundFaceCirculator, halfedges()
- Examples
- Tutorial_105_SurfaceMesh_Connectivity/main.cpp.
◆ HalfedgeAroundFaceCirculator()
Default constructor.
- Parameters
-
| m | The surface mesh. |
| f | The face. |
◆ 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.
◆ operator!=()
Inequality operator.
- Parameters
-
| rhs | The other circulator to compare with. |
- Returns
- True if the circulators are different, false otherwise.
◆ operator*()
Get the halfedge the circulator refers to.
- Returns
- The halfedge.
◆ 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: