The MeshEvalNeighbourhood class checks if the neighbourhood among the facets is set correctly. More...
#include <Evaluation.h>
Public Member Functions | |
bool | Evaluate () |
Evaluates the mesh kernel with respect to certain criteria. | |
std::vector< unsigned long > | GetIndices () const |
MeshEvalNeighbourhood (const MeshKernel &rclB) | |
~MeshEvalNeighbourhood () |
The MeshEvalNeighbourhood class checks if the neighbourhood among the facets is set correctly.
Definition at line 297 of file Evaluation.h.
MeshCore::MeshEvalNeighbourhood::MeshEvalNeighbourhood | ( | const MeshKernel & | rclB | ) | [inline] |
Definition at line 300 of file Evaluation.h.
MeshCore::MeshEvalNeighbourhood::~MeshEvalNeighbourhood | ( | ) | [inline] |
Definition at line 301 of file Evaluation.h.
bool MeshEvalNeighbourhood::Evaluate | ( | ) | [virtual] |
Evaluates the mesh kernel with respect to certain criteria.
Must be reimplemented by every subclass. This pure virtual function returns false if the mesh kernel is invalid according to this criterion and true if the mesh kernel is correct.
Implements MeshCore::MeshEvaluation.
Definition at line 746 of file Evaluation.cpp.
References MeshCore::MeshFacet::_aulNeighbours, MeshCore::MeshEvaluation::_rclMesh, RobotExampleTrajectoryOutOfShapes::count, MeshCore::Edge_Index::f, MeshCore::MeshKernel::GetFacets(), MeshCore::Edge_Index::p0, MeshCore::Edge_Index::p1, and MeshCore::MeshFacet::Side().
Referenced by Mesh::MeshObject::load(), MeshGui::DlgEvaluateMeshImp::on_analyzeIndicesButton_clicked(), and MeshGui::DlgEvaluateMeshImp::on_repairAllTogether_clicked().
std::vector< unsigned long > MeshEvalNeighbourhood::GetIndices | ( | ) | const |
Definition at line 821 of file Evaluation.cpp.
References MeshCore::MeshFacet::_aulNeighbours, MeshCore::MeshEvaluation::_rclMesh, RobotExampleTrajectoryOutOfShapes::count, MeshCore::Edge_Index::f, MeshCore::MeshKernel::GetFacets(), MeshCore::Edge_Index::p0, MeshCore::Edge_Index::p1, and MeshCore::MeshFacet::Side().
Referenced by MeshGui::DlgEvaluateMeshImp::on_analyzeIndicesButton_clicked().