In the "Linear Interpolation" section This article discusses how to interpolate the values when the lines are oblique.
For instance, for Case#2 it has the following calculation:
I am confused about the cases when lines are either horizontal or vertical.
can anyone shed some light?
How can I do interpolation when lines are either horizontal or vertical?