UNPKG

@seasketch/geoprocessing

Version:

Geoprocessing and reporting framework for SeaSketch 2.0

5 lines 228 B
/** Returns whether bounding box A overlaps with or touches bounding box B */ export function bboxOverlap(a, b) { return a[2] >= b[0] && b[2] >= a[0] && a[3] >= b[1] && b[3] >= a[1]; } //# sourceMappingURL=bboxOverlap.js.map