14#ifdef LAGRANGE_ENABLE_LEGACY_FUNCTIONS
15 #include <lagrange/mesh_cleanup/legacy/remove_short_edges.h>
18#include <lagrange/SurfaceMesh.h>
28template <
typename Scalar,
typename Index>
A general purpose polygonal mesh class.
Definition: SurfaceMesh.h:66
Main namespace for Lagrange.
Definition: AABBIGL.h:30
void remove_short_edges(SurfaceMesh< Scalar, Index > &mesh, Scalar threshold=0)
Collapse all edges shorter than a given tolerance.
Definition: remove_short_edges.cpp:29