Returns a coordinate offset from start by vector amount.
start
vector
Different behaviour can be specified for how to handle when coordinates exceed the bounds of the grid
Note: x and y wrapping are calculated independently. A large wrapping of x, for example won't shift up/down a line.
Use Grids.applyBounds if you need to calculate a wrapped coordinate without adding two together.
Grid to traverse
Start point
Offset in x/y
Cell
Returns a coordinate offset from
start
byvector
amount.Different behaviour can be specified for how to handle when coordinates exceed the bounds of the grid
Note: x and y wrapping are calculated independently. A large wrapping of x, for example won't shift up/down a line.
Use Grids.applyBounds if you need to calculate a wrapped coordinate without adding two together.