FreeCAD C++
|
#include <Mod/Mesh/App/Core/Visitor.h>
Special mesh visitor that searches for facets within a given search radius.
Public Member Functions | |
bool | Visit (const MeshFacet &rclFacet, const MeshFacet &rclFrom, unsigned long ulFInd, unsigned long ulLevel) |
std::vector< unsigned long > | GetAndReset (void) |
![]() | |
MeshFacetVisitor (void) | |
Construction. | |
virtual | ~MeshFacetVisitor (void) |
Denstruction. | |
virtual bool | AllowVisit (const MeshFacet &rclFacet, const MeshFacet &rclFrom, unsigned long ulFInd, unsigned long ulLevel, unsigned short neighbourIndex) |
Protected Attributes | |
const MeshKernel & | _rclMeshBase |
Base::Vector3f | _clCenter |
float | _fRadius |
std::vector< unsigned long > | _vecFacets |
std::vector<unsigned long> MeshCore::MeshSearchNeighbourFacetsVisitor::GetAndReset | ( | void | ) |
Resets the VISIT flag of already visited facets.
|
virtual |
Checks the facet if it lies inside the search radius.
Implements MeshCore::MeshFacetVisitor.
|
protected |
Center.
|
protected |
Search radius.
|
protected |
The mesh kernel.
|
protected |
Found facets.