|
Geogram Version 1.9.7
A programming library of geometric algorithms
|
Adapter class used internally to implement for_each_polyhedron() More...
#include <geogram/voronoi/generic_RVD.h>
Public Member Functions | |
| PolyhedronAction (const ACTION &do_it) | |
| Creates a new PolyhedronAction that wraps a user ACTION instance. | |
| void | operator() (index_t v, index_t t, const Polyhedron &C) const |
| Callback called for each polyhedron. | |
Protected Attributes | |
| const ACTION & | do_it_ |
Adapter class used internally to implement for_each_polyhedron()
Overrides constness checks, to allow using temporaries as argument of for_each_xxx()
| ACTION | the user action class |
Definition at line 635 of file generic_RVD.h.
|
inline |
Creates a new PolyhedronAction that wraps a user ACTION instance.
| [in] | do_it | the user ACTION instance |
Definition at line 642 of file generic_RVD.h.
|
inline |
Callback called for each polyhedron.
Routes the callback to the wrapped user action class.
| [in] | v | index of current Delaunay seed |
| [in] | t | index of current mesh tetrahedron |
| [in] | C | intersection between current mesh tetrahedron and the Voronoi cell of v |
Definition at line 654 of file generic_RVD.h.
|
protected |
Definition at line 663 of file generic_RVD.h.