getCellDistance

getCellDistance

> Functions

Returns the distance between two cells cell1 and cell2.

The returned distance is expressed in number of cells, and does not take into account the various obstacles between the two cells.

To get the distance as the crow flies, see getDistance and to get the path distance between the two cells avoiding obstacles, see getPathLength.

Parameters
Return