bug in vtkCellLocator
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I think there is a problem in the vtkCellLocator. The attached program makes two spheres of radii 0.8 and 1. Afterwards, it traverses the points of the bigger sphere and searches for an intersection with a vector in the negative normal direction that has a specific length (0.15 to 0.7). I expect that if the search depth is bigger than 0.2 (difference between the two radii of the spheres), an intersection for all the points is found. But if you look at the output of the attached program, this is not the case (the output is also posted below).
actual search depth : 0.15 points where intersection was found : 0 points with no intersection : 9802
actual search depth : 0.2 points where intersection was found : 1773 points with no intersection : 8029
actual search depth : 0.25 points where intersection was found : 3576 points with no intersection : 6226
actual search depth : 0.3 points where intersection was found : 3896 points with no intersection : 5906
actual search depth : 0.35 points where intersection was found : 4280 points with no intersection : 5522
actual search depth : 0.4 points where intersection was found : 4872 points with no intersection : 4930
actual search depth : 0.45 points where intersection was found : 6008 points with no intersection : 3794
actual search depth : 0.5 points where intersection was found : 7080 points with no intersection : 2722
actual search depth : 0.55 points where intersection was found : 8616 points with no intersection : 1186
actual search depth : 0.6 points where intersection was found : 9802 points with no intersection : 0