Skip to content

Optimize cellID bin check.

Optimization of the CellLocatorUniformBins when LastCell acceleration is used. PointInBin will check all of the cells in a bin. If the bin contains multiple cells, it's possible that the same cell will be tested twice. FindCell() will check the last cell to see if it's a match. If this fails it will check the cells in the bin. Since we just checked one of the cells in the bin, we want to make sure to not check it again.

Merge request reports