Considers a boundary triangle with two open edges and an angle higher than 60 deg with its adjacent triangle as a boundary fold. More...
#include <Degeneration.h>
Public Member Functions | |
bool | Evaluate () |
Evaluates the mesh kernel with respect to certain criteria. More... | |
std::vector< FacetIndex > | GetIndices () const |
MeshEvalFoldsOnBoundary (const MeshKernel &rclM) | |
~MeshEvalFoldsOnBoundary () | |
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 () |
Considers a boundary triangle with two open edges and an angle higher than 60 deg with its adjacent triangle as a boundary fold.
The topology is not affected there but such triangles can lead to problems on some hole-filling algorithms.
MeshCore::MeshEvalFoldsOnBoundary::MeshEvalFoldsOnBoundary | ( | const MeshKernel & | rclM | ) |
MeshCore::MeshEvalFoldsOnBoundary::~MeshEvalFoldsOnBoundary | ( | ) |
|
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.
References MeshCore::FACET_INDEX_MAX, and MeshCore::MeshGeomFacet::GetNormal().
Referenced by MeshCore::MeshFixFoldsOnBoundary::Fixup(), MeshGui::DlgEvaluateMeshImp::on_analyzeFoldsButton_clicked(), MeshGui::DlgEvaluateMeshImp::on_repairAllTogether_clicked(), and Mesh::MeshObject::removeFoldsOnSurface().
std::vector< FacetIndex > MeshEvalFoldsOnBoundary::GetIndices | ( | ) | const |