Geogram
Version 1.9.1-rc
A programming library of geometric algorithms
|
Adapter class used internally to implement for_each_halfedge(). More...
#include <geogram/voronoi/generic_RVD.h>
Public Member Functions | |
HalfedgeAction (const ACTION &do_it) | |
Creates a new HalfedgeAction that wraps a user ACTION instance. More... | |
void | operator() (index_t v, index_t f, const Polygon &P) const |
Callback called for each integration simplex. More... | |
Protected Attributes | |
const ACTION & | do_it_ |
Adapter class used internally to implement for_each_halfedge().
Overrides constness checks, to allow using temporaries as argument of for_each_xxx().
ACTION | the user action class.. |
Definition at line 477 of file generic_RVD.h.
|
inline |
Creates a new HalfedgeAction that wraps a user ACTION instance.
[in] | do_it | the user ACTION instance |
Definition at line 484 of file generic_RVD.h.
|
inline |
Callback called for each integration simplex.
Calls the callback of the wrapped user action class for each edge that has the INTERSECT flag.
[in] | v | index of current Delaunay seed |
[in] | f | index of current mesh facet |
[in] | P | intersection between current mesh facet and the Voronoi cell of v |
Definition at line 497 of file generic_RVD.h.