Graphite  Version 3
An experimental 3D geometry processing program
GEOGen::RestrictedVoronoiDiagram< DIM >::BorderHalfedgeAction< ACTION > Class Template Reference

Adapter class used internally to implement for_each_border_halfedge(). More...

#include <geogram/voronoi/generic_RVD.h>

Public Member Functions

 BorderHalfedgeAction (const ACTION &do_it)
 Creates a new BorderHalfedgeAction 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...
 

Detailed Description

template<index_t DIM>
template<class ACTION>
class GEOGen::RestrictedVoronoiDiagram< DIM >::BorderHalfedgeAction< ACTION >

Adapter class used internally to implement for_each_border_halfedge().

Overrides constness checks, to allow using temporaries as argument of for_each_xxx().

Template Parameters
ACTIONthe user action class..

Definition at line 526 of file generic_RVD.h.

Constructor & Destructor Documentation

◆ BorderHalfedgeAction()

template<index_t DIM>
template<class ACTION >
GEOGen::RestrictedVoronoiDiagram< DIM >::BorderHalfedgeAction< ACTION >::BorderHalfedgeAction ( const ACTION &  do_it)
inline

Creates a new BorderHalfedgeAction that wraps a user ACTION instance.

Parameters
[in]do_itthe user ACTION instance

Definition at line 533 of file generic_RVD.h.

Member Function Documentation

◆ operator()()

template<index_t DIM>
template<class ACTION >
void GEOGen::RestrictedVoronoiDiagram< DIM >::BorderHalfedgeAction< ACTION >::operator() ( index_t  v,
index_t  f,
const Polygon P 
) const
inline

Callback called for each integration simplex.

Calls the callback of the wrapped user action class for each edge that is on the border of the input surface.

Parameters
[in]vindex of current Delaunay seed
[in]findex of current mesh facet
[in]Pintersection between current mesh facet and the Voronoi cell of v

Definition at line 547 of file generic_RVD.h.


The documentation for this class was generated from the following file: