getDistance

getDistance

> Functions

Calculates the distance as the crow flies between two cells cell1 and cell2.

To get the distance in number of cells, see getCellDistance, and to get the length of the path between the two cells dodging the various obstacles, see getPathLength.

Parameters
Return