MeshCore::MeshEvalDuplicatePoints Class Reference

The MeshEvalDuplicatePoints class searches for duplicated points. More...

#include <Degeneration.h>

Inheritance diagram for MeshCore::MeshEvalDuplicatePoints:
MeshCore::MeshEvaluation

List of all members.

Public Member Functions

bool Evaluate ()
 Merges points to one if the distance between them is less than the global MeshDefinitions::_fMinPointDistanceD1.
std::vector< unsigned long > GetIndices () const
 Returns the indices of all duplicated points.
 MeshEvalDuplicatePoints (const MeshKernel &rclM)
 Construction.
 ~MeshEvalDuplicatePoints ()
 Destruction.

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

Definition at line 98 of file Degeneration.h.


Constructor & Destructor Documentation

MeshCore::MeshEvalDuplicatePoints::MeshEvalDuplicatePoints ( const MeshKernel rclM  )  [inline]

Construction.

Definition at line 104 of file Degeneration.h.

MeshCore::MeshEvalDuplicatePoints::~MeshEvalDuplicatePoints (  )  [inline]

Destruction.

Definition at line 108 of file Degeneration.h.


Member Function Documentation

bool MeshEvalDuplicatePoints::Evaluate (  )  [virtual]
std::vector< unsigned long > MeshEvalDuplicatePoints::GetIndices (  )  const

Returns the indices of all duplicated points.

Definition at line 147 of file Degeneration.cpp.

References MeshCore::MeshEvaluation::_rclMesh, and MeshCore::MeshKernel::GetPoints().

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


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

Generated on Wed Nov 23 19:02:23 2011 for FreeCAD by  doxygen 1.6.1