Easy3D 2.5.3
SurfaceMesh::HalfedgeAroundFaceCirculator Class Reference

#include <surface_mesh.h>

Public Member Functions

 HalfedgeAroundFaceCirculator (const SurfaceMesh *m=nullptr, Face f=Face())
 default constructor
 
bool operator== (const HalfedgeAroundFaceCirculator &rhs) const
 are two circulators equal?
 
bool operator!= (const HalfedgeAroundFaceCirculator &rhs) const
 are two circulators different?
 
HalfedgeAroundFaceCirculatoroperator++ ()
 pre-increment (rotates counter-clockwise)
 
HalfedgeAroundFaceCirculatoroperator-- ()
 pre-decrement (rotates clockwise)
 
Halfedge operator* () const
 get the halfedge the circulator refers to
 
HalfedgeAroundFaceCirculatorbegin ()
 
HalfedgeAroundFaceCirculatorend ()
 

Detailed Description

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:

SurfaceMesh::HalfedgeAroundFaceCirculator cir(mesh, f);
SurfaceMesh::HalfedgeAroundFaceCirculator end = cir;
do {
SurfaceMesh::Halfedge h = *cir;
// do something with h
++cir;
} while (cir != end);
See also
VertexAroundFaceCirculator, halfedges()
Examples
Tutorial_105_SurfaceMesh_Connectivity.

The documentation for this class was generated from the following file: