Description Usage Arguments Examples
Stop the radar line at the first wall
1 | intersect_radar(radar, walls)
|
radar |
LINESTRING (1 line only). |
walls |
LINESTRING (can be many connected lines). |
1 2 | intersect_radar(radar=sf::st_linestring(matrix(c(0, 10, 0, 0), ncol=2, byrow=TRUE)), walls=sf::st_linestring(matrix(c(1, 7, -1, 4, 1, 0), ncol=2, byrow=TRUE)))
intersect_radar(radar=sf::st_linestring(matrix(c(-2, 10, -1, 5.5), ncol=2, byrow=TRUE)), walls=sf::st_linestring(matrix(c(1, 7, -1, 4, 1, 0), ncol=2, byrow=TRUE)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.