Circle center : Cx,Cy
Circle radius : a
Point from which we need to draw a tangent line : Px,Py
I need the formula to find the two tangents (t1x, t1y) and (t2x,t2y) given all the above.
Circle center : Cx,Cy
Circle radius : a
Point from which we need to draw a tangent line : Px,Py
I need the formula to find the two tangents (t1x, t1y) and (t2x,t2y) given all the above.
Given that $$(x-x_c)^2+(y-y_c)^2=r^2$$ and a point $$P(x_0,y_0)$$ then the line through this point is given by $$y=m(x-x_0)+y_0$$ plug this in the equation of the circle to determine $m$