Description Usage Arguments Details Value Examples
Predicate functions for matching bbxes
1 2 3 | bbx_intersects(bbx, bbx2)
bbx_ovelaps(bbx, bbx2, direction = "x")
|
bbx |
character vector of bounding boxes to perform operation on |
bbx2 |
optional character vector of bounding boxes to element-wise aggregation with 'bbx'. If specified, needs to be length 1 or equal in length to 'bbx'. |
direction |
by default x |
These functions can check intersection(non-empty intersection geometry) or horizontal/vertical overlap of segments.
logical value
1 2 | bbx_intersects("5 1 7 3", "2 2 6 8") # should return TRUE
bbx_ovelaps("100 100 200 200", "120, 220, 180, 240") # should be TRUE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.