14#include <lagrange/SurfaceMesh.h>
44template <
typename Scalar,
typename Index>
A general purpose polygonal mesh class.
Definition SurfaceMesh.h:73
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
Main namespace for Lagrange.
Option struct for remove_null_area_facets.
Definition remove_null_area_facets.h:27
bool remove_isolated_vertices
If true, also remove isolated vertices after removing null area facets.
Definition remove_null_area_facets.h:32
double null_area_threshold
Facets with area <= null_area_threshold will be removed.
Definition remove_null_area_facets.h:29