MeshCore::MeshEvalSingleFacet Class Reference

The MeshEvalSingleFacet class checks a special case of non-manifold edges as follows. More...

#include <Evaluation.h>

Public Member Functions

bool Evaluate ()
 Evaluates the mesh kernel with respect to certain criteria. More...
 
 MeshEvalSingleFacet (const MeshKernel &rclB)
 
virtual ~MeshEvalSingleFacet ()
 
- Public Member Functions inherited from MeshCore::MeshEvalTopology
unsigned long CountManifolds () const
 
virtual bool Evaluate ()
 Evaluates the mesh kernel with respect to certain criteria. More...
 
void GetFacetManifolds (std::vector< FacetIndex > &raclFacetIndList) const
 
const std::list< std::vector< FacetIndex > > & GetFacets () const
 
const std::vector< std::pair< FacetIndex, FacetIndex > > & GetIndices () const
 
 MeshEvalTopology (const MeshKernel &rclB)
 
virtual ~MeshEvalTopology ()
 
- 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 ()
 

Additional Inherited Members

- Protected Attributes inherited from MeshCore::MeshEvalTopology
std::list< std::vector< FacetIndex > > nonManifoldFacets
 
std::vector< std::pair< FacetIndex, FacetIndex > > nonManifoldList
 

Detailed Description

The MeshEvalSingleFacet class checks a special case of non-manifold edges as follows.

If an edge is shared by more than two facets and if all further facets causing this non- manifold have only their neighbour facets set at this edge, i.e. they have no neighbours at their other edges. Such facets can just be removed from the mesh.

Constructor & Destructor Documentation

◆ MeshEvalSingleFacet()

MeshCore::MeshEvalSingleFacet::MeshEvalSingleFacet ( const MeshKernel rclB)

◆ ~MeshEvalSingleFacet()

virtual MeshCore::MeshEvalSingleFacet::~MeshEvalSingleFacet ( )
virtual

Member Function Documentation

◆ Evaluate()

bool MeshEvalSingleFacet::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.

Reimplemented from MeshCore::MeshEvalTopology.

References MeshCore::MeshEvalTopology::Evaluate(), and MeshCore::MeshEvalTopology::nonManifoldList.


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