14#include <lagrange/SurfaceMesh.h>
39template <
typename Scalar,
typename Index>
Main namespace for Lagrange.
Definition: AABBIGL.h:30
void remove_null_area_facets(SurfaceMesh< Scalar, Index > &mesh, const RemoveNullAreaFacetsOptions &options={})
Removes all facets with unsigned area <= options.null_area_threshold.
Definition: remove_null_area_facets.cpp:22
Option struct for remove_null_area_facets.
Definition: remove_null_area_facets.h:22
bool remove_isolated_vertices
If true, also remove isolated vertices after removing null area facets.
Definition: remove_null_area_facets.h:27
double null_area_threshold
Facets with area <= null_area_threshold will be removed.
Definition: remove_null_area_facets.h:24