I'm trying to figure this equation out before I code it.
If I have a line that starts at $(x_1,y_1)$, and ends at $(x_2,y_2)$.
I have a point not on the line, $(c_1,c_2)$ that I would like to rotate this line around to a certain angle.
Is there an equation for handling this or could you please suggest an equation to use?
Thanks, B