SMESH_NodeSearcherImpl Struct Reference

Implementation of search for the node closest to point. More...

Public Member Functions

const SMDS_MeshNodeFindClosestTo (const gp_Pnt &thePnt)
 Do it's job. More...
 
int FindNearPoint (const gp_Pnt &point, const double tolerance, std::vector< const SMDS_MeshNode * > &foundNodes)
 Finds nodes located within a tolerance near a point. More...
 
const SMESH_OctreeNodegetTree () const
 Return the node tree. More...
 
void MoveNode (const SMDS_MeshNode *node, const gp_Pnt &toPnt)
 Move node and update myOctreeNode accordingly. More...
 
 SMESH_NodeSearcherImpl (const SMDS_Mesh *theMesh)
 Constructor. More...
 
 ~SMESH_NodeSearcherImpl ()
 Destructor. More...
 
- Public Member Functions inherited from SMESH_NodeSearcher
virtual ~SMESH_NodeSearcher ()
 

Detailed Description

Implementation of search for the node closest to point.

Constructor & Destructor Documentation

◆ SMESH_NodeSearcherImpl()

SMESH_NodeSearcherImpl::SMESH_NodeSearcherImpl ( const SMDS_Mesh theMesh)

◆ ~SMESH_NodeSearcherImpl()

SMESH_NodeSearcherImpl::~SMESH_NodeSearcherImpl ( )

Destructor.

Member Function Documentation

◆ FindClosestTo()

◆ FindNearPoint()

int SMESH_NodeSearcherImpl::FindNearPoint ( const gp_Pnt &  point,
const double  tolerance,
std::vector< const SMDS_MeshNode * > &  foundNodes 
)
virtual

Finds nodes located within a tolerance near a point.

Implements SMESH_NodeSearcher.

References draftutils.utils::tolerance().

Referenced by SMESH_ElementSearcherImpl::FindElementsByPoint().

◆ getTree()

const SMESH_OctreeNode* SMESH_NodeSearcherImpl::getTree ( ) const

Return the node tree.

Referenced by SMESH_ElementSearcherImpl::getTolerance().

◆ MoveNode()

void SMESH_NodeSearcherImpl::MoveNode ( const SMDS_MeshNode node,
const gp_Pnt &  toPnt 
)
virtual

Move node and update myOctreeNode accordingly.

Implements SMESH_NodeSearcher.

References SMDS_MeshNode::X().


The documentation for this struct was generated from the following file:
  • Sources/FreeCAD/src/3rdParty/salomesmesh/src/SMESH/SMESH_MeshAlgos.cpp