The MeshEvalOrientation class checks the mesh kernel for consistent facet normals. More...
#include <Evaluation.h>
Public Member Functions | |
bool | Evaluate () |
Evaluates the mesh kernel with respect to certain criteria. | |
std::vector< unsigned long > | GetIndices () const |
MeshEvalOrientation (const MeshKernel &rclM) | |
~MeshEvalOrientation () |
The MeshEvalOrientation class checks the mesh kernel for consistent facet normals.
Definition at line 142 of file Evaluation.h.
MeshEvalOrientation::MeshEvalOrientation | ( | const MeshKernel & | rclM | ) |
Definition at line 121 of file Evaluation.cpp.
MeshEvalOrientation::~MeshEvalOrientation | ( | ) |
Definition at line 126 of file Evaluation.cpp.
bool MeshEvalOrientation::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 130 of file Evaluation.cpp.
References MeshCore::MeshFacet::_aulPoints, MeshCore::MeshEvaluation::_rclMesh, and MeshCore::MeshKernel::GetFacets().
Referenced by MeshGui::DlgEvaluateMeshImp::on_analyzeOrientationButton_clicked(), and MeshGui::DlgEvaluateMeshImp::on_repairAllTogether_clicked().
std::vector< unsigned long > MeshEvalOrientation::GetIndices | ( | ) | const |
Definition at line 184 of file Evaluation.cpp.
References MeshCore::MeshEvaluation::_rclMesh, MeshCore::MeshKernel::CountFacets(), KDL::diff(), MeshCore::MeshKernel::GetFacets(), Py::long, MeshCore::MeshAlgorithm::ResetFacetFlag(), MeshCore::MeshAlgorithm::ResetFacetsFlag(), MeshCore::MeshAlgorithm::SetFacetsFlag(), MeshCore::MeshFacet::TMP0, MeshCore::MeshFacet::VISIT, and MeshCore::MeshKernel::VisitNeighbourFacets().
Referenced by Mesh::MeshObject::countNonUniformOrientedFacets(), and MeshGui::DlgEvaluateMeshImp::on_analyzeOrientationButton_clicked().