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. | |
MeshValidation (MeshKernel &rclB) | |
virtual | ~MeshValidation () |
Protected Attributes | |
MeshKernel & | _rclMesh |
Mesh kernel. |
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.
Definition at line 70 of file Evaluation.h.
MeshCore::MeshValidation::MeshValidation | ( | MeshKernel & | rclB | ) | [inline] |
Definition at line 73 of file Evaluation.h.
virtual MeshCore::MeshValidation::~MeshValidation | ( | ) | [inline, virtual] |
Definition at line 74 of file Evaluation.h.
virtual bool MeshCore::MeshValidation::Fixup | ( | ) | [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::MeshFixDuplicateFacets, MeshCore::MeshFixDegeneratedFacets, MeshCore::MeshFixDeformedFacets, MeshCore::MeshFixFoldsOnSurface, MeshCore::MeshFixFoldsOnBoundary, MeshCore::MeshFixRangeFacet, MeshCore::MeshFixRangePoint, MeshCore::MeshFixCorruptedFacets, MeshCore::MeshFixOrientation, MeshCore::MeshFixTopology, MeshCore::MeshFixSingleFacet, MeshCore::MeshFixSelfIntersection, and MeshCore::MeshFixNeighbourhood.
MeshKernel& MeshCore::MeshValidation::_rclMesh [protected] |
Mesh kernel.
Definition at line 83 of file Evaluation.h.
Referenced by MeshCore::MeshFixNeighbourhood::Fixup(), MeshCore::MeshFixSelfIntersection::Fixup(), MeshCore::MeshFixSingleFacet::Fixup(), MeshCore::MeshFixTopology::Fixup(), MeshCore::MeshFixOrientation::Fixup(), MeshCore::MeshFixCorruptedFacets::Fixup(), MeshCore::MeshFixFoldsOnBoundary::Fixup(), MeshCore::MeshFixFoldsOnSurface::Fixup(), MeshCore::MeshFixDeformedFacets::Fixup(), MeshCore::MeshFixDegeneratedFacets::Fixup(), MeshCore::MeshFixDuplicateFacets::Fixup(), MeshCore::MeshFixDuplicatePoints::Fixup(), MeshCore::MeshFixInvalids::Fixup(), and MeshCore::MeshFixDegeneratedFacets::RemoveEdgeTooSmall().