IFClite TypeScript API
    Preparing search index...

    Function terrainSamplerFromGrid

    • Bilinear interpolation over a terrain grid, honouring its sampling convention (node or cell-centre, see TerrainGrid); null outside the grid, next to a NaN, or when the grid says it has no data.

      Parameters

      • grid: TerrainGrid
      • Optionaloptions: { verticalAccuracy?: number }

      Returns TerrainSampler