pmp-library  1.2.1
SurfaceHoleFilling Class Reference

Close simple holes. More...

#include <pmp/algorithms/SurfaceHoleFilling.h>

Public Member Functions

 SurfaceHoleFilling (SurfaceMesh &mesh)
 construct with mesh
void fill_hole (Halfedge h)
 Fill the hole specified by halfedge h. More...

Detailed Description

Close simple holes.

Close simple holes (boundary loops of manifold vertices) by first filling the hole with an angle/area-minimizing triangulation, followed by isometric remeshing, and finished by curvature-minimizing fairing of the filled-in patch. See [14] for details.

Member Function Documentation

◆ fill_hole()

void fill_hole ( Halfedge  h)

Fill the hole specified by halfedge h.

The specified halfedge is valid.
The specified halfedge is a boundary halfedge.
The specified halfedge is not adjacent to a non-manifold hole.
InvalidInputExceptionin case on of the input preconditions is violated