View source: R/linesIntersect.R
| linesIntersect | R Documentation | 
Checks whether two line segments intersect.
linesIntersect(A1, A2, B1, B2)
| A1 | one end of line A (x,y) pair | 
| A2 | other end of line A (x,y) pair | 
| B1 | one end of line B (x,y) pair | 
| B2 | other end of line B (x,y) pair | 
returns a boolean value indicating whether there is an intersection.
Results may not be consistent if intersection happens exactly at one end of a segment, due to rounding error.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.