chebyshevDistanceTo

Chebyshev (king-move) distance — max(|Δcol|, |Δrow|). This is the radius used by the Moore neighborhood: cells within Chebyshev distance 1 form the 8-cell ring around this one.