Interface ElevationInput

Elevation data input. It is assumed data is the actual elevation data of each point in the tile

interface ElevationInput {
    data: number[];
    extent: Extents;
    size: number;
}

Properties

Properties

data: number[]

The actual elevation data assumed to be floating point (32-bit) precise. It is assumed to find data you can use: index = y * size + x

extent: Extents

The extent defines the 0->extent range to remap the data to

size: number

The size of the square tile. The length and width are the same size