inter {alphahull} | R Documentation |
This function calculates the intersection of two circumferences, given their centers and radius c1,r1 and c2,r2, respectively.
inter(c11, c12, r1, c21, c22, r2)
c11 |
X-coordinate of the center c1. |
c12 |
Y-coordinate of the center c1. |
r1 |
Radius r1. |
c21 |
X-coordinate of the center c2. |
c22 |
Y-coordinate 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 |