- #1
onako
- 86
- 0
I've derived an equation to satisfy the following:
Given two points A and B in 2D and distance t, compute the point C such that C is on the line AB, and the distance from A to C is t. Here, Euclidean distances are assumed.
Now, I want something similar; the point C is constrained to lie on the line AB, but the desired distance t needs be Manhattan distance. The absolute value terms make problems for my calculations. Any help on how to derive this is welcome.
Given two points A and B in 2D and distance t, compute the point C such that C is on the line AB, and the distance from A to C is t. Here, Euclidean distances are assumed.
Now, I want something similar; the point C is constrained to lie on the line AB, but the desired distance t needs be Manhattan distance. The absolute value terms make problems for my calculations. Any help on how to derive this is welcome.