If an adjacent point (A) of a point (P) can be projected onto a triangle shared by (P) but not by (A) then we have a local dent. More...
#include <Degeneration.h>
Public Member Functions | |
bool | Evaluate () |
Evaluates the mesh kernel with respect to certain criteria. More... | |
std::vector< FacetIndex > | GetIndices () const |
MeshEvalDentsOnSurface (const MeshKernel &rclM) | |
~MeshEvalDentsOnSurface () | |
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 () |
If an adjacent point (A) of a point (P) can be projected onto a triangle shared by (P) but not by (A) then we have a local dent.
The topology is not affected.
MeshCore::MeshEvalDentsOnSurface::MeshEvalDentsOnSurface | ( | const MeshKernel & | rclM | ) |
MeshCore::MeshEvalDentsOnSurface::~MeshEvalDentsOnSurface | ( | ) |
|
virtual |
Evaluates the mesh kernel with respect to certain criteria.
Must be reimplemented by every subclass. This pure virtual function returns false if the mesh kernel is invalid according to this criterion and true if the mesh kernel is correct.
Implements MeshCore::MeshEvaluation.
References MeshCore::MeshGeomFacet::GetNormal(), MeshCore::MeshGeomFacet::IntersectWithLine(), and MeshCore::MeshRefPointToFacets::NeighbourPoints().
Referenced by MeshCore::MeshFixDentsOnSurface::Fixup().
std::vector< FacetIndex > MeshEvalDentsOnSurface::GetIndices | ( | ) | const |
Referenced by MeshCore::MeshFixDentsOnSurface::Fixup().