Easy3D 2.6.1
|
This class closes simple holes in a surface mesh. More...
#include <easy3d/algo/surface_mesh_hole_filling.h>
Public Member Functions | |
SurfaceMeshHoleFilling (SurfaceMesh *mesh) | |
Construct with mesh. | |
bool | fill_hole (SurfaceMesh::Halfedge h) |
Fill the hole specified by halfedge h . | |
int | fill_holes (int size=500) |
Fill all holes with size smaller than the specified size. | |
This class closes simple holes in a surface mesh.
It closes 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 the following paper for more details:
|
explicit |
Construct with mesh.
mesh | The surface mesh to be processed. |
bool fill_hole | ( | SurfaceMesh::Halfedge | h | ) |
Fill the hole specified by halfedge h
.
h | The halfedge handle specifying the hole to be filled. |
int fill_holes | ( | int | size = 500 | ) |
Fill all holes with size smaller than the specified size.
The size of a hole is defined as the number of boundary edges in the boundary loop of the hole.
size | The maximum size of holes to be filled. Default: 500. |