This function calculates the intersection of two circumferences, given their centers and radius c1,r1 and c2,r2, respectively.
1  inter(c11, c12, r1, c21, c22, r2)

c11 
Xcoordinate of the center c1. 
c12 
Ycoordinate of the center c1. 
r1 
Radius r1. 
c21 
Xcoordinate of the center c2. 
c22 
Ycoordinate of the center c2. 
r2 
Radius r2. 
The function inter
is internally called by the function ahull
.
A list with the following components:
n.cut 
Number of intersection points (0,1,2, or Inf). 
v1 
If there are two intersection points, 
theta1 
Angle that forms 
v2 
If there are two intersection points, 
theta2 
Angle that forms 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.