Could someone please help me out with the trivial problem.

I have two circles, their centers are connected by a segment. I would like to find the coordinates of the points that lies on the segment on a specified distance from the edge of the circle.

Here is the picture:

enter image description here


The parametric equation for the line from $(x_1,y_1)$ to $(x_2,y_2)$ is


then let indicate with $d$ the distance from $(x_1,y_1)$ to $(x_2,y_2)$ that is


and with

  • $t_1=\frac{r+a}{d}$

  • $t_2=\frac{d-(r+a)}{d}$


  • $(u_1,v_1)=P(t_1)$
  • $(u_2,v_2)=P(t_2)$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.