MeshCore::MeshEvalRangeFacet Class Reference

The MeshEvalRangeFacet class checks whether a facet points to neighbour facets that are out of range. More...

#include <Degeneration.h>

Public Member Functions

bool Evaluate ()
 Searches for facets that has neighbour facet indices out of range. More...
 
std::vector< FacetIndexGetIndices () const
 Returns the indices of all facets with invalid neighbour indices. More...
 
 MeshEvalRangeFacet (const MeshKernel &rclM)
 Construction. More...
 
 ~MeshEvalRangeFacet ()
 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 MeshEvalRangeFacet class checks whether a facet points to neighbour facets that are out of range.

All errors detected by this class would also be implicitly found by MeshEvalNeighbourhood. However, MeshEvalRangeFacet is used for a very fast search while MeshEvalNeighbourhood needs much more time because it can detect more errors.

See also
MeshFixRangeFacet
Author
Werner Mayer

Constructor & Destructor Documentation

◆ MeshEvalRangeFacet()

MeshCore::MeshEvalRangeFacet::MeshEvalRangeFacet ( const MeshKernel rclM)

Construction.

◆ ~MeshEvalRangeFacet()

MeshCore::MeshEvalRangeFacet::~MeshEvalRangeFacet ( )

Destruction.

Member Function Documentation

◆ Evaluate()

bool MeshEvalRangeFacet::Evaluate ( )
virtual

Searches for facets that has neighbour facet indices out of range.

Implements MeshCore::MeshEvaluation.

References MeshCore::FACET_INDEX_MAX.

Referenced by Mesh::MeshObject::hasFacetsOutOfRange().

◆ GetIndices()

std::vector< FacetIndex > MeshEvalRangeFacet::GetIndices ( ) const

Returns the indices of all facets with invalid neighbour indices.

References MeshCore::FACET_INDEX_MAX.


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