14#ifdef LAGRANGE_ENABLE_LEGACY_FUNCTIONS
15 #include <lagrange/mesh_cleanup/legacy/remove_duplicate_vertices.h>
18#include <lagrange/SurfaceMesh.h>
46template <
typename Scalar,
typename Index>
Main namespace for Lagrange.
Definition: AABBIGL.h:30
void remove_duplicate_vertices(SurfaceMesh< Scalar, Index > &mesh, const RemoveDuplicateVerticesOptions &options={})
Removes duplicate vertices from a mesh.
Definition: remove_duplicate_vertices.cpp:33
Option struct for remove_duplicate_vertices.
Definition: remove_duplicate_vertices.h:28
std::vector< AttributeId > extra_attributes
Additional attributes to include for duplicate vertex detection.
Definition: remove_duplicate_vertices.h:31
bool boundary_only
Only remove duplicate vertices on the boundary.
Definition: remove_duplicate_vertices.h:34