vtkDataSet::FindPoint() giving incorrect results in VTK 7.0.0
I have a vtkPolyData instance containing 1500 points, and I am using its FindPoint() method to find which point is closest to the coordinates that I have.
The function returns the wrong index: in this test the correct answer would be index 4, while the function returns 1226 for me.
See the attached vtp file containing the points poly_fail_test.vtp, the source of the reduced test case test_fail.cpp and the CMakeLists that I used to compile it CMakeLists.txt
Note: I tried shrinking the vtp dataset so that only ~100 points were in it, and FindPoint gave the correct results.