circle_intersection: circle_intersection: calculate the intersection of two...

Description Usage Arguments Value Examples

View source: R/earthquakeFunctions.R

Description

circle_intersection: calculate the intersection of two circles

Usage

1
circle_intersection(center1 = c(x1, y1), radius1, center2 = c(x2, y2), radius2)

Arguments

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

Value

a matrix containing either the ordered pairs of the 2 intersection points or NAs if no intersection is detected

Examples

1
Usage example

lilyacb/quakeTri documentation built on Dec. 21, 2021, 10:49 a.m.