The MeshValidation class tries to make a mesh kernel valid with respect to a certain criterion, such as manifoldness, self-intersections, etc. More...
#include <Evaluation.h>
Public Member Functions | |
virtual bool | Fixup ()=0 |
This function attempts to change the mesh kernel to be valid according to the checked criterion: True is returned if the errors could be fixed, false otherwise. More... | |
MeshValidation (MeshKernel &rclB) | |
virtual | ~MeshValidation () |
The MeshValidation class tries to make a mesh kernel valid with respect to a certain criterion, such as manifoldness, self-intersections, etc.
The passed mesh kernel can be modified to fix the errors. The class itself is abstract, hence the method Fixup() must be implemented by subclasses.
MeshCore::MeshValidation::MeshValidation | ( | MeshKernel & | rclB | ) |
|
virtual |
|
pure virtual |
This function attempts to change the mesh kernel to be valid according to the checked criterion: True is returned if the errors could be fixed, false otherwise.
Implemented in MeshCore::MeshFixInvalids, MeshCore::MeshFixDuplicatePoints, MeshCore::MeshFixNaNPoints, MeshCore::MeshFixDuplicateFacets, MeshCore::MeshFixDegeneratedFacets, MeshCore::MeshRemoveNeedles, MeshCore::MeshFixCaps, MeshCore::MeshFixDeformedFacets, MeshCore::MeshFixMergeFacets, MeshCore::MeshFixDentsOnSurface, MeshCore::MeshFixFoldsOnBoundary, MeshCore::MeshFixRangeFacet, MeshCore::MeshFixRangePoint, MeshCore::MeshFixCorruptedFacets, MeshCore::MeshFixPointOnEdge, MeshCore::MeshFixOrientation, MeshCore::MeshFixTopology, MeshCore::MeshFixSingleFacet, MeshCore::MeshFixSelfIntersection, and MeshCore::MeshFixNeighbourhood.