MeshCore::MeshPointVisitor Class Reference

Abstract base class for point visitors. More...

#include <Visitor.h>

List of all members.

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.

Detailed Description

Abstract base class for point visitors.

Definition at line 162 of file Visitor.h.


Constructor & Destructor Documentation

MeshCore::MeshPointVisitor::MeshPointVisitor ( void   )  [inline]

Construction.

Definition at line 166 of file Visitor.h.

virtual MeshCore::MeshPointVisitor::~MeshPointVisitor ( void   )  [inline, virtual]

Denstruction.

Definition at line 168 of file Visitor.h.


Member Function Documentation

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().


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

Generated on Wed Nov 23 19:02:25 2011 for FreeCAD by  doxygen 1.6.1