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

    Function clipBBox

    • Create a new bounding box clipped by the axis and min-max

      Parameters

      • bb: undefined | BBOX

        the original bounding box

      • axis: 0 | 1

        0 for x, 1 for y

      • k1: number

        the lower bound

      • k2: number

        the upper bound

      Returns BBOX

      the new bounding box clipped by the axis and min-max