MeshCore::MeshEvalNaNPoints Class Reference

The MeshEvalNaNPoints class searches for points with a coordinate that is NaN. More...

#include <Degeneration.h>

Public Member Functions

bool Evaluate ()
 Returns false if a point with NaN coordinate is found. More...
 
std::vector< PointIndexGetIndices () const
 Returns the indices of all NaN points. More...
 
 MeshEvalNaNPoints (const MeshKernel &rclM)
 Construction. More...
 
 ~MeshEvalNaNPoints ()
 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 MeshEvalNaNPoints class searches for points with a coordinate that is NaN.

See also
MeshFixNaNPoints
Author
Werner Mayer

Constructor & Destructor Documentation

◆ MeshEvalNaNPoints()

MeshCore::MeshEvalNaNPoints::MeshEvalNaNPoints ( const MeshKernel rclM)

Construction.

◆ ~MeshEvalNaNPoints()

MeshCore::MeshEvalNaNPoints::~MeshEvalNaNPoints ( )

Destruction.

Member Function Documentation

◆ Evaluate()

bool MeshEvalNaNPoints::Evaluate ( )
virtual

Returns false if a point with NaN coordinate is found.

Implements MeshCore::MeshEvaluation.

◆ GetIndices()

std::vector< PointIndex > MeshEvalNaNPoints::GetIndices ( ) const

Returns the indices of all NaN points.

Referenced by Mesh::MeshObject::hasInvalidPoints(), and Mesh::MeshObject::removeInvalidPoints().


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