The MeshEvalDuplicateFacets class searches for duplicated facets. More...
#include <Degeneration.h>
Public Member Functions | |
bool | Evaluate () |
Searches for duplicated facets. | |
std::vector< unsigned long > | GetIndices () const |
Returns the indices of all duplicated facets. | |
MeshEvalDuplicateFacets (const MeshKernel &rclM) | |
Construction. | |
~MeshEvalDuplicateFacets () | |
Destruction. |
The MeshEvalDuplicateFacets class searches for duplicated facets.
A facet is regarded as duplicated if all its point indices refer to the same location in the point array of the mesh kernel. The actual geometric points are not taken into consideration.
Definition at line 148 of file Degeneration.h.
MeshCore::MeshEvalDuplicateFacets::MeshEvalDuplicateFacets | ( | const MeshKernel & | rclM | ) | [inline] |
Construction.
Definition at line 154 of file Degeneration.h.
MeshCore::MeshEvalDuplicateFacets::~MeshEvalDuplicateFacets | ( | ) | [inline] |
Destruction.
Definition at line 158 of file Degeneration.h.
bool MeshEvalDuplicateFacets::Evaluate | ( | ) | [virtual] |
Searches for duplicated facets.
Implements MeshCore::MeshEvaluation.
Definition at line 300 of file Degeneration.cpp.
References MeshCore::MeshEvaluation::_rclMesh, and MeshCore::MeshKernel::GetFacets().
Referenced by MeshGui::DlgEvaluateMeshImp::on_repairAllTogether_clicked().
std::vector< unsigned long > MeshEvalDuplicateFacets::GetIndices | ( | ) | const |
Returns the indices of all duplicated facets.
Definition at line 315 of file Degeneration.cpp.
References MeshCore::MeshEvaluation::_rclMesh, Mesh2Shape::faces, and MeshCore::MeshKernel::GetFacets().
Referenced by MeshGui::DlgEvaluateMeshImp::on_analyzeDuplicatedFacesButton_clicked().