You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Potential inconsistency between SpatialGrid.isValid(DiscreteVector dC) (1) and SpatialGrid.isValidOrPadded(int i, int j, int k) (2). The comment for (1) claims that it excludes padding, whereas (2) is commented as including padding. (1) allows values for 0 <= i < nI, 0 <= j < nJ, 0 <= k < nK and (2) allows values for 0 <= i <= nI, 0 <= j <= nJ, 0 <= k <= nK. So, while there is a difference in how the two deal with nI/nJ/nK values, they deal with 0 values identically.
A third, unused, method SpatialGrid.isValidOrPadded(DiscreteVector dC) allowed values for -1 <= i < nI, -1 <= j < nJ, -1 <= k < nK. This will be removed.
The text was updated successfully, but these errors were encountered:
SpatialGrid.getValueAt(DiscreteVector dc) returns grid value at (i+1, j+1, k+1) but SpatialGrid.getValueAt(int i, int j, int k) returns grid value at (i, j, k)
Potential inconsistency between
SpatialGrid.isValid(DiscreteVector dC)
(1) andSpatialGrid.isValidOrPadded(int i, int j, int k)
(2). The comment for (1) claims that it excludes padding, whereas (2) is commented as including padding. (1) allows values for 0 <= i < nI, 0 <= j < nJ, 0 <= k < nK and (2) allows values for 0 <= i <= nI, 0 <= j <= nJ, 0 <= k <= nK. So, while there is a difference in how the two deal with nI/nJ/nK values, they deal with 0 values identically.A third, unused, method
SpatialGrid.isValidOrPadded(DiscreteVector dC)
allowed values for -1 <= i < nI, -1 <= j < nJ, -1 <= k < nK. This will be removed.The text was updated successfully, but these errors were encountered: