bbox_intersect function

Bounding box intersection / union