MantisBT - VTK
View Issue Details
0010478VTK(No Category)public2010-03-29 10:002013-12-12 22:57
xabi riobe 
Dave DeMarle 
normalminoralways
closedfixed 
 
6.0.0 
0010478: vtkKdTree::FindClosestPointWithinRadius returns points out of radius
The method vtkKdTree::FindClosestPointWithinRadius calls vtkKdTree::FindClosestPointInSphere, and the point returned can be out of the sphere, so out of the Radius passed as argument.
There must be an additional test in one of these two methods to compare the distance between the points and the given radius.
in the attached program test, we use a vtkKdTreeLocator that calls the vtkKdTree methods and gives wrong results, and it is compared to a vtkPointLocator that gives correct results.
No tags attached.
cpp Test.cpp (4,006) 2010-03-29 10:00
https://www.vtk.org/Bug/file/7997/Test.cpp
Issue History
2010-03-29 10:00xabi riobeNew Issue
2010-03-29 10:00xabi riobeFile Added: Test.cpp
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2012-03-07 04:05xabi riobeStatusexpired => backlog
2012-03-07 04:05xabi riobeResolutionopen => reopened
2013-09-30 05:17xabi riobeNote Added: 0031657
2013-12-12 22:57Dave DeMarleStatusbacklog => closed
2013-12-12 22:57Dave DeMarleAssigned To => Dave DeMarle
2013-12-12 22:57Dave DeMarleResolutionreopened => fixed
2013-12-12 22:57Dave DeMarleFixed in Version => 6.0.0

Notes
(0031657)
xabi riobe   
2013-09-30 05:17   
This bug is fixed in vtk 6.0.0