Easy3D 2.5.3
SurfaceMesh::VertexAroundFaceCirculator Class Reference

#include <surface_mesh.h>

Public Member Functions

 VertexAroundFaceCirculator (const SurfaceMesh *m=nullptr, Face f=Face())
 default constructor
 
bool operator== (const VertexAroundFaceCirculator &rhs) const
 are two circulators equal?
 
bool operator!= (const VertexAroundFaceCirculator &rhs) const
 are two circulators different?
 
VertexAroundFaceCirculatoroperator++ ()
 pre-increment (rotates counter-clockwise)
 
VertexAroundFaceCirculatoroperator-- ()
 pre-decrement (rotates clockwise)
 
Vertex operator* () const
 get the vertex the circulator refers to
 
VertexAroundFaceCirculatorbegin ()
 
VertexAroundFaceCirculatorend ()
 

Detailed Description

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:

SurfaceMesh::VertexAroundFaceCirculator cir = mesh->vertices(f);
SurfaceMesh::VertexAroundFaceCirculator end = cir;
do {
SurfaceMesh::Vertex v = *cir;
// do something with v
++cir;
} while (cir != end);
See also
HalfedgeAroundFaceCirculator, vertices()
Examples
Tutorial_105_SurfaceMesh_Connectivity.

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