Special mesh visitor that searches for facets within a given search radius. More...
#include <Visitor.h>
Public Member Functions | |
| std::vector< FacetIndex > | GetAndReset () |
| Resets the VISIT flag of already visited facets. More... | |
| MeshSearchNeighbourFacetsVisitor (const MeshKernel &rclMesh, float fRadius, FacetIndex ulStartFacetIdx) | |
| bool | Visit (const MeshFacet &rclFacet, const MeshFacet &rclFrom, FacetIndex ulFInd, unsigned long ulLevel) |
| Checks the facet if it lies inside the search radius. More... | |
| virtual | ~MeshSearchNeighbourFacetsVisitor () |
Public Member Functions inherited from MeshCore::MeshFacetVisitor | |
| virtual bool | AllowVisit (const MeshFacet &rclFacet, const MeshFacet &rclFrom, FacetIndex ulFInd, unsigned long ulLevel, unsigned short neighbourIndex) |
| Test before a facet will be flagged as VISIT, return false means: go on with visiting the facets but not this one and set not the VISIT flag. More... | |
| MeshFacetVisitor () | |
| Construction. More... | |
| virtual bool | Visit (const MeshFacet &rclFacet, const MeshFacet &rclFrom, FacetIndex ulFInd, unsigned long ulLevel)=0 |
| Needs to be implemented in sub-classes. More... | |
| virtual | ~MeshFacetVisitor () |
| Denstruction. More... | |
Special mesh visitor that searches for facets within a given search radius.
| MeshSearchNeighbourFacetsVisitor::MeshSearchNeighbourFacetsVisitor | ( | const MeshKernel & | rclMesh, |
| float | fRadius, | ||
| FacetIndex | ulStartFacetIdx | ||
| ) |
|
virtual |
| std::vector< FacetIndex > MeshSearchNeighbourFacetsVisitor::GetAndReset | ( | ) |
Resets the VISIT flag of already visited facets.
References MeshCore::MeshAlgorithm::ResetFacetsFlag(), and MeshCore::MeshFacet::VISIT.
|
virtual |
Checks the facet if it lies inside the search radius.
Implements MeshCore::MeshFacetVisitor.
References Base::Distance().