RINGMesh  Version 5.0.0
A programming library for geological model meshes
geomodel_validity.cpp File Reference

Implementation of functions to check the validity of GeoModels. More...

#include <ringmesh/geomodel/geomodel_validity.h>
#include <future>
#include <geogram/basic/file_system.h>
#include <geogram/mesh/triangle_intersection.h>
#include <ringmesh/geomodel/geomodel.h>
#include <ringmesh/geomodel/geomodel_geological_entity.h>
#include <ringmesh/geomodel/geomodel_mesh_entity.h>
#include <ringmesh/mesh/geogram_mesh.h>
#include <ringmesh/mesh/geogram_mesh_builder.h>

Go to the source code of this file.

Namespaces

 RINGMesh
 Classes to build GeoModel from various inputs.
 

Functions

void RINGMESH_API RINGMesh::set_validity_errors_directory (const std::string &directory)
 Set the directory where debugging information on invalid entities shall be stored. More...
 
std::string RINGMESH_API RINGMesh::get_validity_errors_directory ()
 Get the directory where debugging information on invalid entities shall be stored. More...
 
template<index_t DIMENSION>
bool RINGMesh::are_geomodel_mesh_entities_mesh_valid (const GeoModel< DIMENSION > &geomodel)
 Check the validity of all individual entity meshes. More...
 
template<index_t DIMENSION>
bool RINGMesh::are_geomodel_mesh_entities_connectivity_valid (const GeoModel< DIMENSION > &geomodel)
 Check the connectivity of mesh entities. More...
 
template<index_t DIMENSION>
bool RINGMesh::are_geomodel_geological_entities_valid (const GeoModel< DIMENSION > &geomodel)
 
template<index_t DIMENSION>
bool RINGMesh::are_geomodel_mesh_entities_parent_valid (const GeoModel< DIMENSION > &geomodel)
 
template<index_t DIMENSION>
bool RINGMesh::is_geomodel_valid (const GeoModel< DIMENSION > &geomodel, ValidityCheckMode validity_check_mode=ValidityCheckMode::ALL)
 Check global geomodel validity. More...
 
template<index_t DIMENSION>
bool RINGMesh::has_geomodel_finite_extension (const GeoModel< DIMENSION > &geomodel)
 Check that the geomodel has a finite extension. More...
 
template<>
bool RINGMESH_API RINGMesh::has_geomodel_finite_extension< 2 > (const GeoModel2D &geomodel)
 
template<>
bool RINGMESH_API RINGMesh::has_geomodel_finite_extension< 3 > (const GeoModel3D &geomodel)
 
template bool RINGMESH_API RINGMesh::is_geomodel_valid< 2 > (const GeoModel2D &, ValidityCheckMode)
 
template bool RINGMESH_API RINGMesh::are_geomodel_mesh_entities_mesh_valid (const GeoModel2D &)
 
template bool RINGMESH_API RINGMesh::are_geomodel_mesh_entities_connectivity_valid (const GeoModel2D &)
 
template bool RINGMESH_API RINGMesh::are_geomodel_mesh_entities_parent_valid (const GeoModel2D &)
 
template bool RINGMESH_API RINGMesh::are_geomodel_geological_entities_valid (const GeoModel2D &)
 
template bool RINGMESH_API RINGMesh::is_geomodel_valid< 3 > (const GeoModel3D &, ValidityCheckMode)
 
template bool RINGMESH_API RINGMesh::are_geomodel_mesh_entities_mesh_valid (const GeoModel3D &)
 
template bool RINGMESH_API RINGMesh::are_geomodel_mesh_entities_connectivity_valid (const GeoModel3D &)
 
template bool RINGMESH_API RINGMesh::are_geomodel_mesh_entities_parent_valid (const GeoModel3D &)
 
template bool RINGMESH_API RINGMesh::are_geomodel_geological_entities_valid (const GeoModel3D &)
 

Detailed Description

Implementation of functions to check the validity of GeoModels.

Author
Jeanne Pellerin

Definition in file geomodel_validity.cpp.