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

Functions for comparing two meshes for exact equality. More...

Go to the source code of this file.

Namespaces

 GEO
 Global Vorpaline namespace.
 

Enumerations

enum  GEO::MeshCompareFlags {
  GEO::MESH_COMPARE_OK = 0 , GEO::MESH_COMPARE_DIMENSIONS = 1 , GEO::MESH_COMPARE_NB_VERTICES = 2 , GEO::MESH_COMPARE_NB_FACETS = 4 ,
  GEO::MESH_COMPARE_NB_FACET_BORDERS = 8 , GEO::MESH_COMPARE_AREAS = 16 , GEO::MESH_COMPARE_TOPOLOGY = 32 , GEO::MESH_COMPARE_NB_TETS = 64 ,
  GEO::MESH_COMPARE_NB_TET_BORDERS = 128 , GEO::MESH_COMPARE_SURFACE_PROPS , GEO::MESH_COMPARE_VOLUME_PROPS , GEO::MESH_COMPARE_ALL = MESH_COMPARE_VOLUME_PROPS
}
 Flags used to compare two meshes. More...
 

Functions

MeshCompareFlags GEO::mesh_compare (const Mesh &M1, const Mesh &M2, MeshCompareFlags flags=MESH_COMPARE_SURFACE_PROPS, double tolerance=0.0, bool verbose=true)
 Compares two meshes. Compares the two meshes M1 and M2 according to the comparison flags flags (see MeshCompareFlags). The function returns a comparison status similar to the comparison flags: More...
 

Detailed Description

Functions for comparing two meshes for exact equality.

Definition in file mesh_compare.h.