OpenMesh
|
Wrapper for circulators. More...
#include <Python/Circulator.hh>
Public Member Functions | |
CirculatorWrapperT (PolyMesh &_mesh, CenterEntityHandle _center) | |
Constructor. More... | |
CirculatorWrapperT (TriMesh &_mesh, CenterEntityHandle _center) | |
Constructor. More... | |
CirculatorWrapperT | iter () const |
Implementation of Python's __iter__ magic method. More... | |
Circulator::value_type | next () |
Implementation of Python's __next__ magic method. More... | |
Wrapper for circulators.
This class template is used to wrap circulators for Python. It implements Python's iterator protocol (the magic methods __iter__ and __next__).
Circulator | A circulator type. |
|
inline |
Constructor.
_mesh | The mesh that contains the items to iterate over. |
_center | The handle to the center item. |
|
inline |
Constructor.
_mesh | The mesh that contains the items to iterate over. |
_center | The handle to the center item. |
|
inline |
Implementation of Python's __iter__ magic method.
|
inline |
Implementation of Python's __next__ magic method.