13#ifdef LAGRANGE_ENABLE_LEGACY_FUNCTIONS
14 #include <lagrange/mesh_cleanup/legacy/close_small_holes.h>
17#include <lagrange/SurfaceMesh.h>
46template <
typename Scalar,
typename Index>
A general purpose polygonal mesh class.
Definition SurfaceMesh.h:73
void close_small_holes(SurfaceMesh< Scalar, Index > &mesh, CloseSmallHolesOptions options={})
Close small topological holes.
Definition close_small_holes.cpp:538
Main namespace for Lagrange.
Option struct for closing small holes.
Definition close_small_holes.h:32
bool triangulate_holes
Whether to triangulate holes. If false, holes will be filled by polygons.
Definition close_small_holes.h:37
size_t max_hole_size
Maximum number of vertices on a hole to be closed.
Definition close_small_holes.h:34