1
$\begingroup$

Is there a consistent way to calculate the outer interval $\left(~\mbox{element of}\ \left[0, 2\pi\right]~\right)$ of a circle created by an intersection ?.

I calculated the intersection points and the angels with ${\rm atan2}$, but beyond that I'm clueless.

The radii of the circles and the positions of the centers are given. The blue circle would be at the center $\left(0,0\right)$.

For example, in this image I need the green interval:

intersect-circles

$\endgroup$
  • $\begingroup$ What exactly is given in the problem? I would expect it would be the radii of the circles and the distance between the centers. Is that it? $\endgroup$ – bob.sacamento Aug 2 '14 at 16:51
  • $\begingroup$ Note that the problem is a bit simpler if the radii are identical. Is that the case here? $\endgroup$ – Semiclassical Aug 2 '14 at 16:57
  • $\begingroup$ The radii are not identical. The radii of the circles and the distance between the centers is given though. $\endgroup$ – Dayrush Aug 2 '14 at 17:09
0
$\begingroup$

The measure of the red arc is $$\alpha=2\arccos\left(\frac{d^2+r_2^2-r_1^2}{2r_2d}\right)$$ where $r_1$ is the radius of the blue circle and $d$ is the distance between the centers.

Note: $\arccos$ is usually written acos in programming languages.

$\endgroup$
  • $\begingroup$ The green arc is $\beta=2\pi-\alpha$ $\endgroup$ – Paracosmiste Aug 2 '14 at 18:13

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.