Description Usage Arguments Examples
View source: R/does_intersect.R
Determine if two line segments, ab and cd, intersect
1 | does_intersect(a, b, c, d, smidgin = 1e-06)
|
a |
Numeric vector of length 2 containin Point a (x, y) co-ordinates |
b |
Numeric vector of length 2 containin Point b (x, y) co-ordinates |
c |
Numeric vector of length 2 containin Point c (x, y) co-ordinates |
d |
Numeric vector of length 2 containin Point d (x, y) co-ordinates |
smidgin |
Tolerance parameter used when checking if the intersection is in the interior of both line segments |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.