Geogram
Version 1.9.1
A programming library of geometric algorithms
|
Baseclass for user functions called for each polygon of a surfacic restricted Voronoi diagram. More...
#include <geogram/voronoi/RVD_callback.h>
Public Member Functions | |
RVDPolygonCallback () | |
PolyhedronCallback constructor. | |
~RVDPolygonCallback () override | |
PolyhedronCallback destructor. | |
void | begin () override |
Called at the beginning of the RVD traversal. More... | |
void | end () override |
Called at the end of the RVD traversal. More... | |
virtual void | operator() (index_t v, index_t t, const GEOGen::Polygon &C) const |
The default callback called for each polygon. More... | |
Public Member Functions inherited from GEO::RVDCallback | |
RVDCallback () | |
RVDCallback constructor. | |
virtual | ~RVDCallback () |
RVDCallback destructor. | |
index_t | seed () const |
Gets the index of the seed that corresponds to the current polygon/polyhedron. More... | |
index_t | simplex () const |
Gets the index of the simplex that corresponds to the current polygon/polyhedron. More... | |
void | set_spinlocks (Process::SpinLockArray *spinlocks) |
Sets the spinlocks array. More... | |
Additional Inherited Members | |
Protected Attributes inherited from GEO::RVDCallback | |
index_t | seed_ |
index_t | simplex_ |
Process::SpinLockArray * | spinlocks_ |
Baseclass for user functions called for each polygon of a surfacic restricted Voronoi diagram.
A surfacic restricted Voronoi diagram is the intersection between Voronoi cells and the triangles of a given triangulated mesh. The member functions of this class are called for each intersection between a Voronoi cell and a triangle.
Definition at line 153 of file RVD_callback.h.
|
overridevirtual |
Called at the beginning of the RVD traversal.
Reimplemented from GEO::RVDCallback.
|
overridevirtual |
Called at the end of the RVD traversal.
Reimplemented from GEO::RVDCallback.
|
virtual |
The default callback called for each polygon.
[in] | v | index of current Delaunay seed |
[in] | t | index of current mesh triangle |
[in] | C | intersection between current mesh triangle and the Voronoi cell of v |