The MeshFixCorruptedFacets class fixes corrupted facets by removing them from the mesh structure. More...
#include <Degeneration.h>
Public Member Functions | |
bool | Fixup () |
Removes corrupted facets. More... | |
MeshFixCorruptedFacets (MeshKernel &rclM) | |
Construction. More... | |
~MeshFixCorruptedFacets () | |
Destruction. More... | |
Public Member Functions inherited from MeshCore::MeshValidation | |
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 MeshFixCorruptedFacets class fixes corrupted facets by removing them from the mesh structure.
MeshCore::MeshFixCorruptedFacets::MeshFixCorruptedFacets | ( | MeshKernel & | rclM | ) |
Construction.
MeshCore::MeshFixCorruptedFacets::~MeshFixCorruptedFacets | ( | ) |
Destruction.
|
virtual |
Removes corrupted facets.
Implements MeshCore::MeshValidation.
References MeshCore::MeshFacetIterator::GetReference(), MeshCore::MeshFacetIterator::Init(), MeshCore::MeshFacet::IsDegenerated(), MeshCore::MeshFacetIterator::More(), MeshCore::MeshFacetIterator::Next(), MeshCore::MeshFacetIterator::Position(), MeshCore::MeshTopoAlgorithm::RemoveCorruptedFacet(), and MeshCore::MeshFacetIterator::Set().
Referenced by Mesh::MeshObject::validateIndices().