Returns cells that correspond to the cardinal directions at a specified distance i.e. it projects a line from start cell in all cardinal directions and returns the cells at steps distance.
start
steps
Grid
Start poiint
Distance
Logic for if bounds of grid are exceeded
Cells corresponding to cardinals
Returns cells that correspond to the cardinal directions at a specified distance i.e. it projects a line from
start
cell in all cardinal directions and returns the cells atsteps
distance.