I have two line segments with points:
Line 1 is a line through $(x_1,y_1)$ and $(x_2,y_2)$ (smaller line)
Line 2 is a line through $(x_3,y_3)$ and $(x_4,y_4)$ (bigger line)
How can I make the Line 1 (smaller) to rotate and make it parallel to Line 2 (bigger) using either:
- $(x_1,y_1)$ as fixed point of rotation or
- $(x_2,y_2)$ as fixed point of rotation or
- center point as fixed point of rotation
