i have two lines, one is slanted line and another is a straight line. Both the lines share same X coordinate separated by distance d. The straight line is rotated to an angle θ (which also needed to be calculated from slanted line) ,making it parallel to the slanted line. Now how to calculate the new end points X2,Y2 of the rotated line?
- I used the slope equation to find the m1 of the slanted line and then converted it into angle using m=tanθ formula.
- Now how to calculate the new X2,Y2 after rotating the line?