Geogram  Version 1.9.1
A programming library of geometric algorithms
mesh_repair.h File Reference

Go to the source code of this file.

Namespaces

 GEO
 Global Vorpaline namespace.
 

Enumerations

enum  GEO::MeshRepairMode {
  GEO::MESH_REPAIR_TOPOLOGY = 0 , GEO::MESH_REPAIR_COLOCATE = 1 , GEO::MESH_REPAIR_DUP_F = 2 , GEO::MESH_REPAIR_TRIANGULATE = 4 ,
  GEO::MESH_REPAIR_RECONSTRUCT = 8 , GEO::MESH_REPAIR_QUIET = 16 , GEO::MESH_REPAIR_DEFAULT
}
 Determines the operating mode of mesh_repair(). The flags can be combined with the 'bitwise or' (|) operator. MESH_REPAIR_DEFAULT fits most uses. More...
 

Functions

void GEO::mesh_repair (Mesh &M, MeshRepairMode mode=MESH_REPAIR_DEFAULT, double colocate_epsilon=0.0)
 Fixes some defaults in a mesh. More...
 
void GEO::mesh_postprocess_RDT (Mesh &M, bool verbose=false)
 Post-processes a Restricted Delaunay Triangulation. More...
 
void GEO::mesh_reorient (Mesh &M, vector< index_t > *moebius_facets=nullptr)
 Reorients the facets of a mesh coherently. More...
 
void GEO::mesh_detect_colocated_vertices (const Mesh &M, vector< index_t > &v_colocated_index, double colocate_epsilon=0.0)
 Detects colocated vertices in a mesh. More...
 
void GEO::mesh_detect_isolated_vertices (const Mesh &M, vector< index_t > &v_is_isolated)
 Detects isolated vertices in a mesh. More...
 
void GEO::mesh_detect_degenerate_facets (const Mesh &M, vector< index_t > &f_is_degenerate)
 Detects degenerate facets in a mesh. More...
 
void GEO::mesh_colocate_vertices_no_check (Mesh &M, double colocate_epsilon=0.0, bool verbose=false)
 Merges the vertices of a mesh that are at the same geometric location. More...
 
void GEO::mesh_remove_bad_facets_no_check (Mesh &M, bool check_duplicates=true)
 Removes the degenerate and the duplicated facets in a surface mesh. More...
 
void GEO::mesh_connect_and_reorient_facets_no_check (Mesh &M)
 Connects the facets and consistently orient manifold components. More...