Taxicab geometry distance calculations

228 Views Asked by At

As far as my understanding goes, taxicab geometry uses the lines of the coordinate plane to calculate distances. How does it affect the calculations when a point is not exactly on the intersection of the grid (like (1,2) or (4,5), and is instead somewhere in the middle? (1.5,3.2)?

1

There are 1 best solutions below

3
On BEST ANSWER

You should treat it the same, as far as I know. For example: if we want to find the $l_1$ (or taxicab) distance from $A=(1.2, 3.5)$ to $B=(4.1, 5.7)$, then

$d(A, B)=|4.1-1.2|+|5.7-3.5|=2.9+2.2=5.1$.