distance Between
Calculates the distance between the given positions.
Return
The distance between the 2 positions.
Parameters
position A
The position A.
position B
The position B
Calculates the distance between the given coordinates.
Return
The distance between the coordinates.
Parameters
x A
The x coordinate of position the A.
y A
The y coordinate of position the A.
x B
The x coordinate of position the B.
y B
The y coordinate of position the B.