I want the
D with the given distance of
d on the line which connects
C to the
AB line with the slope of 90 degrees (vertical). Basically I want to move the point
C, closer to the
AB line (half the distance in my case).
I know how to get a point between 2 points but I don't know how to get the point on the
It's at half the distance between the
C and has the same slope as
How I solved it
I didn't quite use the distance. I got the parallel line through the
C point and got the line between the 2 lines by calculating the mid point between
B'. Then connected the 2 new points.