MeshCore::MeshEvalDegeneratedFacets Class Reference

The MeshEvalDegeneratedFacets class searches for degenerated facets. More...

#include <Degeneration.h>

Public Member Functions

unsigned long CountEdgeTooSmall (float fMinEdgeLength) const
 Returns the number of facets with an edge smaller than fMinEdgeLength. More...
 
bool Evaluate ()
 Searches degenerated facets. More...
 
std::vector< FacetIndexGetIndices () const
 Returns the indices of all corrupt facets. More...
 
 MeshEvalDegeneratedFacets (const MeshKernel &rclM, float fEps)
 Construction. More...
 
 ~MeshEvalDegeneratedFacets ()
 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 MeshEvalDegeneratedFacets class searches for degenerated facets.

A facet is degenerated either if its points are collinear, i.e. they lie on a line or two points are coincident. In the latter case these points are duplicated. If a facet refers to at least two equal point indices then the facet is also regarded is 'corrupt'.

See also
MeshEvalCorruptedFacets
MeshEvalDuplicatePoints
MeshFixDegeneratedFacets
Author
Werner Mayer

Constructor & Destructor Documentation

◆ MeshEvalDegeneratedFacets()

MeshCore::MeshEvalDegeneratedFacets::MeshEvalDegeneratedFacets ( const MeshKernel rclM,
float  fEps 
)

Construction.

◆ ~MeshEvalDegeneratedFacets()

MeshCore::MeshEvalDegeneratedFacets::~MeshEvalDegeneratedFacets ( )

Destruction.

Member Function Documentation

◆ CountEdgeTooSmall()

unsigned long MeshEvalDegeneratedFacets::CountEdgeTooSmall ( float  fMinEdgeLength) const

Returns the number of facets with an edge smaller than fMinEdgeLength.

References Base::Distance(), and MeshCore::MeshFacetIterator::EndReached().

◆ Evaluate()

◆ GetIndices()


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