Description Usage Arguments Value Examples
Predicate functions for matching bboxes These functions can check whether intersection operation on bbox objects returns non-NA result
1 | bbox_intersects(bbox, bbox2 = NULL)
|
bbox |
character vector of bounding boxes to perform operation on |
bbox2 |
optional character vector of bounding boxes to element-wise aggregation with |
logical value of whether or not the pair of bboxes intersect
1 2 | bbox_intersects(c("5 1 7 3", "2 4 6 8")) # should return FALSE
bbox_intersects("5 1 7 3", "2 2 6 8") # should return TRUE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.