40 #ifndef GEOGRAM_MESH_MESH_PREPROCESSING
41 #define GEOGRAM_MESH_MESH_PREPROCESSING
78 double min_component_area,
79 index_t min_component_facets = 0.0
Common include file, providing basic definitions. Should be included before anything else by all head...
Functions for removing degree 3 vertices in a mesh.
Functions for filling the holes in a mesh.
Global Vorpaline namespace.
void orient_normals(Mesh &M)
Orients the normals in such a way that each connected component has a positive signed volume.
void remove_small_connected_components(Mesh &M, double min_component_area, index_t min_component_facets=0.0)
Removes the connected components that have an area smaller than a given threshold.
void expand_border(Mesh &M, double epsilon)
Enlarges a surface by moving the vertices on the border.
void remove_degree2_vertices(Mesh &M)
Removes the degree 2 vertices in a surface mesh.
geo_index_t index_t
The type for storing and manipulating indices.
void remove_small_facets(Mesh &M, double min_facet_area)
Removes the facets that have an area smaller than a given threshold.
void invert_normals(Mesh &M)
Inverts all the normals of a mesh.