gis-tools-ts - v0.6.0
    Preparing search index...

    Function bboxOverlap

    • Checks if two bounding boxes overlap. If they don't overlap, returns undefined. If they do, return the overlap

      Parameters

      • b1: BBOX

        first bounding box

      • b2: BBOX

        second bounding box

      Returns undefined | BBOX

      • undefined if no overlap, or a bbox of the overlap