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. | |
std::vector< unsigned long > | GetIndices () const |
Returns the indices of all facets with invalid neighbour indices. | |
MeshEvalRangeFacet (const MeshKernel &rclM) | |
Construction. | |
~MeshEvalRangeFacet () | |
Destruction. |
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.
Definition at line 392 of file Degeneration.h.
MeshCore::MeshEvalRangeFacet::MeshEvalRangeFacet | ( | const MeshKernel & | rclM | ) | [inline] |
Construction.
Definition at line 398 of file Degeneration.h.
MeshCore::MeshEvalRangeFacet::~MeshEvalRangeFacet | ( | ) | [inline] |
Destruction.
Definition at line 402 of file Degeneration.h.
bool MeshEvalRangeFacet::Evaluate | ( | ) | [virtual] |
Searches for facets that has neighbour facet indices out of range.
Implements MeshCore::MeshEvaluation.
Definition at line 805 of file Degeneration.cpp.
References MeshCore::MeshEvaluation::_rclMesh, and MeshCore::MeshKernel::GetFacets().
Referenced by MeshGui::DlgEvaluateMeshImp::on_analyzeIndicesButton_clicked(), MeshGui::DlgEvaluateMeshImp::on_repairAllTogether_clicked(), and Mesh::MeshObject::validateIndices().
std::vector< unsigned long > MeshEvalRangeFacet::GetIndices | ( | ) | const |
Returns the indices of all facets with invalid neighbour indices.
Definition at line 821 of file Degeneration.cpp.
References MeshCore::MeshEvaluation::_rclMesh, and MeshCore::MeshKernel::GetFacets().
Referenced by MeshGui::DlgEvaluateMeshImp::on_analyzeIndicesButton_clicked().