Description Usage Arguments Value Examples

View source: R/selfIntersections.R

Determine if there are any intersecting line segments in a matrix of coordinates representing a line

1 |

`line` |
matrix of coordinates corresponding to the line of interest |

list where `list$any`

is a boolean indicating if there are any intersections
and `list$val`

is an index corresponding to the first intersection found

1 2 3 | ```
checkResults <- anyIntersect(currSecEx)
checkResults$any #true/false
checkResults$val #indices of first intersection found
``` |

IceCast documentation built on Aug. 16, 2017, 9:03 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.