Skip to content

Fix issues with PointLocatorUniformGrid

PointLocatorUniformGrid had a few problems.

First, points right on the boundary were often assigned invalid cell ids, so those points would never be found.

Second, the find method gave up to quickly after finding a point. Now searches more cells to check.

Third, there were a couple of typos in the FindInBox method that caused several cells to be missed in the Y and Z directions.

Merge request reports

Loading