mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-19 00:20:36 +05:00
Fix bug of NodeSearcher: search fails if point is outside the mesh on the distance more than octree node precision value
This commit is contained in:
parent
6ea1e8f320
commit
97577f2731
@ -5977,7 +5977,7 @@ struct SMESH_NodeSearcherImpl: public SMESH_NodeSearcher
|
|||||||
SMESH_OctreeNode* tree = *trIt;
|
SMESH_OctreeNode* tree = *trIt;
|
||||||
if ( !tree->isLeaf() ) // put children to the queue
|
if ( !tree->isLeaf() ) // put children to the queue
|
||||||
{
|
{
|
||||||
if ( !tree->isInside( &pointNode, myHalfLeafSize )) continue;
|
//if ( !tree->isInside( &pointNode, myHalfLeafSize )) continue;
|
||||||
SMESH_OctreeNodeIteratorPtr cIt = tree->GetChildrenIterator();
|
SMESH_OctreeNodeIteratorPtr cIt = tree->GetChildrenIterator();
|
||||||
while ( cIt->more() )
|
while ( cIt->more() )
|
||||||
treeList.push_back( cIt->next() );
|
treeList.push_back( cIt->next() );
|
||||||
|
Loading…
Reference in New Issue
Block a user