MeshCore::MeshEvalDuplicatePoints Class Reference

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< PointIndexGetIndices () 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 ()
 

Detailed Description

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).

See also
MeshFixDuplicatePoints
MeshEvalDegeneratedFacets
Author
Werner Mayer

Constructor & Destructor Documentation

◆ MeshEvalDuplicatePoints()

MeshCore::MeshEvalDuplicatePoints::MeshEvalDuplicatePoints ( const MeshKernel rclM)

Construction.

◆ ~MeshEvalDuplicatePoints()

MeshCore::MeshEvalDuplicatePoints::~MeshEvalDuplicatePoints ( )

Destruction.

Member Function Documentation

◆ Evaluate()

bool MeshEvalDuplicatePoints::Evaluate ( )
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().

◆ GetIndices()

std::vector< PointIndex > MeshEvalDuplicatePoints::GetIndices ( ) const

Returns the indices of all duplicated points.

Referenced by MeshGui::DlgEvaluateMeshImp::on_analyzeDuplicatedPointsButton_clicked().


The documentation for this class was generated from the following files: