MeshCore::MeshEvalFoldsOnBoundary Class Reference

Considers a boundary triangle with two open edges and an angle higher than 60 deg with its adjacent triangle as a boundary fold. More...

#include <Degeneration.h>

Public Member Functions

bool Evaluate ()
 Evaluates the mesh kernel with respect to certain criteria. More...
 
std::vector< FacetIndexGetIndices () const
 
 MeshEvalFoldsOnBoundary (const MeshKernel &rclM)
 
 ~MeshEvalFoldsOnBoundary ()
 
- 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

Considers a boundary triangle with two open edges and an angle higher than 60 deg with its adjacent triangle as a boundary fold.

The topology is not affected there but such triangles can lead to problems on some hole-filling algorithms.

Constructor & Destructor Documentation

◆ MeshEvalFoldsOnBoundary()

MeshCore::MeshEvalFoldsOnBoundary::MeshEvalFoldsOnBoundary ( const MeshKernel rclM)

◆ ~MeshEvalFoldsOnBoundary()

MeshCore::MeshEvalFoldsOnBoundary::~MeshEvalFoldsOnBoundary ( )

Member Function Documentation

◆ Evaluate()

bool MeshEvalFoldsOnBoundary::Evaluate ( )
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::FACET_INDEX_MAX, and MeshCore::MeshGeomFacet::GetNormal().

Referenced by MeshCore::MeshFixFoldsOnBoundary::Fixup(), MeshGui::DlgEvaluateMeshImp::on_analyzeFoldsButton_clicked(), MeshGui::DlgEvaluateMeshImp::on_repairAllTogether_clicked(), and Mesh::MeshObject::removeFoldsOnSurface().

◆ GetIndices()


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