Description Usage Arguments Value Examples
View source: R/earthquakeFunctions.R
circle_intersection: calculate the intersection of two circles
1 | circle_intersection(center1 = c(x1, y1), radius1, center2 = c(x2, y2), radius2)
|
center1 |
a vector containing the center coordinates of the first circle |
radius1 |
the radius of the first circle |
center2 |
a vector containing the center coordinates of the second circle |
radius2 |
the radius of the second circle |
a matrix containing either the ordered pairs of the 2 intersection points or NAs if no intersection is detected
1 | Usage example
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.