MeshCore::MeshPointVisitor Class Referenceabstract

Abstract base class for point visitors. More...

#include <Visitor.h>

Public Member Functions

 MeshPointVisitor ()
 Construction. More...
 
virtual bool Visit (const MeshPoint &rclPoint, const MeshPoint &rclFrom, FacetIndex ulPInd, unsigned long ulLevel)=0
 Needs to be implemented in sub-classes. More...
 
virtual ~MeshPointVisitor ()
 Denstruction. More...
 

Detailed Description

Abstract base class for point visitors.

Constructor & Destructor Documentation

◆ MeshPointVisitor()

MeshCore::MeshPointVisitor::MeshPointVisitor ( )

Construction.

◆ ~MeshPointVisitor()

virtual MeshCore::MeshPointVisitor::~MeshPointVisitor ( )
virtual

Denstruction.

Member Function Documentation

◆ Visit()

virtual bool MeshCore::MeshPointVisitor::Visit ( const MeshPoint rclPoint,
const MeshPoint rclFrom,
FacetIndex  ulPInd,
unsigned long  ulLevel 
)
pure virtual

Needs to be implemented in sub-classes.

rclPoint is the currently visited point with the index ulPInd, rclFrom is the last visited point and ulLevel indicates the ring number around the start point. If true is returned the next iteration is done if there are still point to visit. If false is returned the calling method stops immediately visiting further points.

Referenced by MeshCore::MeshKernel::VisitNeighbourPoints().


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