Hi guys, I have three 2D points P1, P2, P3 on a line, I want to see if P3 is before P1, between P1 and P2, or after P2. I'm pretty sure I can use the parametric line formula but I don't know how to set it up to compute the t for P3.
P1 would be at t=0
P2 would be at t=1
...then all I need is the t for P3. Thanks.