The MeshEvalRangeFacet class checks whether a facet points to neighbour facets that are out of range. More...
#include <Degeneration.h>
Public Member Functions | |
bool | Evaluate () |
Searches for facets that has neighbour facet indices out of range. More... | |
std::vector< FacetIndex > | GetIndices () const |
Returns the indices of all facets with invalid neighbour indices. More... | |
MeshEvalRangeFacet (const MeshKernel &rclM) | |
Construction. More... | |
~MeshEvalRangeFacet () | |
Destruction. More... | |
Public Member Functions inherited from MeshCore::MeshEvaluation | |
virtual bool | Evaluate ()=0 |
Evaluates the mesh kernel with respect to certain criteria. More... | |
MeshEvaluation (const MeshKernel &rclB) | |
virtual | ~MeshEvaluation () |
The MeshEvalRangeFacet class checks whether a facet points to neighbour facets that are out of range.
All errors detected by this class would also be implicitly found by MeshEvalNeighbourhood. However, MeshEvalRangeFacet is used for a very fast search while MeshEvalNeighbourhood needs much more time because it can detect more errors.
MeshCore::MeshEvalRangeFacet::MeshEvalRangeFacet | ( | const MeshKernel & | rclM | ) |
Construction.
MeshCore::MeshEvalRangeFacet::~MeshEvalRangeFacet | ( | ) |
Destruction.
|
virtual |
Searches for facets that has neighbour facet indices out of range.
Implements MeshCore::MeshEvaluation.
References MeshCore::FACET_INDEX_MAX.
Referenced by Mesh::MeshObject::hasFacetsOutOfRange().
std::vector< FacetIndex > MeshEvalRangeFacet::GetIndices | ( | ) | const |
Returns the indices of all facets with invalid neighbour indices.
References MeshCore::FACET_INDEX_MAX.