atomicds.core.utils.boxes_overlap

atomicds.core.utils.boxes_overlap(box1, box2) bool[source]

Check if two bounding boxes overlap

Parameters:
  • box1 (list[float]) – List of xmin, ymin, xmax, ymax coordinates defining first box

  • box2 (list[float]) – List of xmin, ymin, xmax, ymax coordinates defining second box

Returns:

True if the boxes overlap

Return type:

(bool)