single_cell_parsersynapse_mapperSynapseMapper_intersect_bboxes

SynapseMapper._intersect_bboxes

single_cell_parser.synapse_mapper.SynapseMapper._intersect_bboxes(bbox1, bbox2)

Check if two bounding boxes overlap

Parameters:
  • bbox1 (tuple) – Bounding box of the first object (minx, maxx, miny, maxy, minz, maxz).

  • bbox2 (tuple) – Bounding box of the second object (minx, maxx, miny, maxy, minz, maxz).

Returns:

True if the bounding boxes overlap, False otherwise.

Return type:

bool