GitHub link
Polygon Mesh Processing Library
SurfaceMesh::HalfedgeAroundFaceCirculator Class Reference

this class circulates through all halfedges of a face. More...

#include <pmp/SurfaceMesh.h>

Public Member Functions

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

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.

See also
VertexAroundFaceCirculator, halfedges(Face)

Constructor & Destructor Documentation

◆ HalfedgeAroundFaceCirculator()

HalfedgeAroundFaceCirculator ( const SurfaceMesh m = nullptr,
Face  f = Face() 
)
inline

default constructor

Member Function Documentation

◆ operator!=()

bool operator!= ( const HalfedgeAroundFaceCirculator rhs) const
inline

are two circulators different?

◆ operator*()

Halfedge operator* ( ) const
inline

get the halfedge the circulator refers to

◆ operator++() [1/2]

HalfedgeAroundFaceCirculator & operator++ ( )
inline

pre-increment (rotates counter-clockwise)

◆ operator++() [2/2]

HalfedgeAroundFaceCirculator operator++ ( int  )
inline

post-increment (rotate counter-clockwise)

◆ operator--() [1/2]

HalfedgeAroundFaceCirculator & operator-- ( )
inline

pre-decrement (rotates clockwise)

◆ operator--() [2/2]

HalfedgeAroundFaceCirculator operator-- ( int  )
inline

post-decrement (rotate clockwise)

◆ operator==()

bool operator== ( const HalfedgeAroundFaceCirculator rhs) const
inline

are two circulators equal?