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