The MeshEvalDeformedFacets class searches for deformed facets. More...
#include <Degeneration.h>
Public Member Functions | |
bool | Evaluate () |
Searches deformed facets. More... | |
std::vector< FacetIndex > | GetIndices () const |
Returns the indices of deformed facets. More... | |
MeshEvalDeformedFacets (const MeshKernel &rclM, float fMinAngle, float fMaxAngle) | |
Construction. More... | |
~MeshEvalDeformedFacets () | |
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 MeshEvalDeformedFacets class searches for deformed facets.
A facet is regarded as deformed if an angle is < 30 deg or > 120 deg.
MeshCore::MeshEvalDeformedFacets::MeshEvalDeformedFacets | ( | const MeshKernel & | rclM, |
float | fMinAngle, | ||
float | fMaxAngle | ||
) |
Construction.
MeshCore::MeshEvalDeformedFacets::~MeshEvalDeformedFacets | ( | ) |
Destruction.
|
virtual |
Searches deformed facets.
Implements MeshCore::MeshEvaluation.
References MeshCore::MeshFacetIterator::Init(), MeshCore::MeshGeomFacet::IsDeformed(), MeshCore::MeshFacetIterator::More(), and MeshCore::MeshFacetIterator::Next().
std::vector< FacetIndex > MeshEvalDeformedFacets::GetIndices | ( | ) | const |
Returns the indices of deformed facets.
References MeshCore::MeshFacetIterator::Init(), MeshCore::MeshGeomFacet::IsDeformed(), MeshCore::MeshFacetIterator::More(), MeshCore::MeshFacetIterator::Next(), and MeshCore::MeshFacetIterator::Position().