I know the start and end points on a line segment. For this example say that the line segment has a distance of 5. Now I want to know the point that has a distance of three away from the end point. Any idea how to do this with math?
Start Point (0,0) End Point (0,5)
Point I want to find (0,2)
If your points are
(x1, y1)
and(x2, y2)
, and you want to find the point(x3, y3)
that isn
units away from point 2: