CGAL 5.6.2 - Polygon Mesh Processing
|
The concept PMPHolefillingVisitor
defines the requirements for the visitor used in hole-filling-related functions . The hole filling may use a 2D constrained triangulation for almost planar holes (planar phase). If that is not appropriate or fails it may use an algorithm with a quadratic running time relying on the 3D Delaunay triangulation (quadratic phase). If that fails, it uses an algorithm with cubic running time (cubic phase).
CopyConstructible
Public Member Functions | |
void | start_planar_phase () const |
called when the planar hole filling algorithm starts. | |
void | end_planar_phase (bool success) const |
called when the planar hole filling algorithm stops. More... | |
void | start_quadratic_phase (std::size_t n) const |
called when the algorithm with quadratic running time starts. More... | |
void | quadratic_step () const |
called at each step. More... | |
void | end_quadratic_phase (bool success) const |
called when the algorithm with quadratic running time ends. More... | |
void | start_cubic_phase (std::size_t n) const |
called when the algorithm with cubic running time starts. More... | |
void | cubic_step () const |
called at each step. This will be called n times. | |
void | end_cubic_phase () const |
called when the algorithm with cubic running time ends. | |
void | start_refine_phase () |
called before refining the triangulation of the hole (triangulate_and_refine_hole() and triangulate_refine_and_fair_hole() only) | |
void | end_refine_phase () |
called after having refined the triangulation of the hole (triangulate_and_refine_hole() and triangulate_refine_and_fair_hole() only) | |
void | start_fair_phase () |
called before fairing the triangulation of the hole (triangulate_refine_and_fair_hole() only) | |
void | end_fair_phase () |
called after having faired the triangulation of the hole (triangulate_refine_and_fair_hole() only) | |
void PMPHolefillingVisitor::end_planar_phase | ( | bool | success | ) | const |
called when the planar hole filling algorithm stops.
success | true when the hole could be filled in this phase. |
void PMPHolefillingVisitor::end_quadratic_phase | ( | bool | success | ) | const |
called when the algorithm with quadratic running time ends.
success | true when the hole could be filled in this phase. |
void PMPHolefillingVisitor::quadratic_step | ( | ) | const |
called at each step.
There may be less than n
calls as this is an upperbound.
void PMPHolefillingVisitor::start_cubic_phase | ( | std::size_t | n | ) | const |
called when the algorithm with cubic running time starts.
n | the upperbound on the number of steps |
void PMPHolefillingVisitor::start_quadratic_phase | ( | std::size_t | n | ) | const |
called when the algorithm with quadratic running time starts.
n | the upperbound on the number of steps |