Description Usage Arguments Value Author(s) References
View source: R/InsertIntersections.R
This function does two rounds of insertion. First, it inserts a point on each path whenever path1 intersects path2. Next, it optionally inserts points on segments of one path that are 'opposite' points on the other path, to allow a monotonic mapping between the two paths.
1 | InsertIntersections(path1, path2, insertopposites = T, verbose = F)
|
path1 |
path1 |
path2 |
path2 |
insertopposites |
T/F, whether points opposite points on the other path should be inserted |
verbose |
T/F, whether to print interim progress information |
A list of four data sequences are returned:
newpath1 |
New list 1 with new points inserted |
newpath2 |
New list2 with new points inserted |
key1 |
Set of indices mapping the points back to the original path 1. Inserted points are labeled -1 |
key2 |
Set of indices mapping the points back to the original path 2. Inserted points are labeled -1 |
Shane T. Mueller and Brandon Perelman
See Mueller et al., (2016). https://sites.google.com/a/mtu.edu/mapping/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.