Get x-y coordinates of the center of any bounding box
Examples
bbox <- c(xmin = 0, xmax = 100, ymin = 0, ymax = 80)
bbox_center(bbox)
#> [1] 50 40
Get x-y coordinates of the center of any bounding box
bbox <- c(xmin = 0, xmax = 100, ymin = 0, ymax = 80)
bbox_center(bbox)
#> [1] 50 40