Abstract base class for point visitors. More...
#include <Visitor.h>
Public Member Functions | |
MeshPointVisitor (void) | |
Construction. | |
virtual bool | Visit (const MeshPoint &rclPoint, const MeshPoint &rclFrom, unsigned long ulPInd, unsigned long ulLevel)=0 |
Needs to be implemented in sub-classes. | |
virtual | ~MeshPointVisitor (void) |
Denstruction. |
Abstract base class for point visitors.
Definition at line 162 of file Visitor.h.
MeshCore::MeshPointVisitor::MeshPointVisitor | ( | void | ) | [inline] |
virtual MeshCore::MeshPointVisitor::~MeshPointVisitor | ( | void | ) | [inline, virtual] |
virtual bool MeshCore::MeshPointVisitor::Visit | ( | const MeshPoint & | rclPoint, | |
const MeshPoint & | rclFrom, | |||
unsigned long | 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().