The MeshEvalDuplicatePoints class searches for duplicated points. More...
#include <Degeneration.h>
Public Member Functions | |
bool | Evaluate () |
Merges points to one if the distance between them is less than the global MeshDefinitions::_fMinPointDistanceD1. More... | |
std::vector< PointIndex > | GetIndices () const |
Returns the indices of all duplicated points. More... | |
MeshEvalDuplicatePoints (const MeshKernel &rclM) | |
Construction. More... | |
~MeshEvalDuplicatePoints () | |
Destruction. More... | |
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 () |
The MeshEvalDuplicatePoints class searches for duplicated points.
A point is regarded as duplicated if the distances between x, y and z coordinates of two points is less than an epsilon (defined by MeshDefinitions::_fMinPointDistanceD1, default value=1.0e-5f).
MeshCore::MeshEvalDuplicatePoints::MeshEvalDuplicatePoints | ( | const MeshKernel & | rclM | ) |
Construction.
MeshCore::MeshEvalDuplicatePoints::~MeshEvalDuplicatePoints | ( | ) |
Destruction.
|
virtual |
Merges points to one if the distance between them is less than the global MeshDefinitions::_fMinPointDistanceD1.
Implements MeshCore::MeshEvaluation.
Referenced by MeshGui::DlgEvaluateMeshImp::on_analyzeDuplicatedPointsButton_clicked(), and MeshGui::DlgEvaluateMeshImp::on_repairAllTogether_clicked().
std::vector< PointIndex > MeshEvalDuplicatePoints::GetIndices | ( | ) | const |
Returns the indices of all duplicated points.
Referenced by MeshGui::DlgEvaluateMeshImp::on_analyzeDuplicatedPointsButton_clicked().