| inter {alphahull} | R Documentation |
Intersection of two circumferences
Description
This function calculates the intersection of two circumferences, given their centers and radius c1,r1 and c2,r2, respectively.
Usage
inter(c11, c12, r1, c21, c22, r2)
Arguments
c11 |
X-coordinate of the center |
c12 |
Y-coordinate of the center |
r1 |
Radius |
c21 |
X-coordinate of the center |
c22 |
Y-coordinate of the center |
r2 |
Radius |
Details
The function inter is internally called by the function ahull.
Value
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 |