vtkCellLocator precision issue
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
There is a numerical precision problem with the method vtkCellLocator::IntersectWithLine
in vtkCellLocator.cxx in line 287 of revision 1.89: if (cell->IntersectWithLine(a0, a1, tol, t, x, pcoords, subId) ) { if ( ! this->IsInOctantBounds(x) )
sometimes the resulting intersection point returned by the cell->IntersectWithLine is a (0.000000000000004) little out of the bounds and the call to IsInOctantBounds discard the point.
I think it will be a good thing to add a tolerance to the method vtkCellLocator::IsInOctantBounds(double x[3]).