@three-tile/lib
    Preparing search index...

    Function getBoundsCoord

    • Get bounds to clip image

      Parameters

      • clipBounds: [number, number, number, number]

        bounds [minx,miny,maxx,maxy],0-1

      • targetSize: number

        size to scale

      Returns { sh: number; sw: number; sx: number; sy: number }

      startX,StarY,width,height