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

    Function getBilinearPoints

    • Sometimes you're given a large swathe of points, and so this function helps find the closest 4 "corners" relative to a pont

      Type Parameters

      • T extends Properties = Properties

      Parameters

      • point: VectorPoint

        point to interpolate

      • refData: VectorPoint<T>[]

        reference data to interpolate from

      Returns BilinearCorners<T>

      • the corner points closest to the reference point