SpatialHeightGrid
class SpatialHeightGrid(val columns: Int, val rows: Int, val heights: FloatArray, val covered: BooleanArray, val baseElevation: Float, val maxElevation: Float)(source)
Elevations sampled on a regular lon/lat grid over a box: the ground the terrain mesh is built on.
Constructors
Link copied to clipboard
constructor(columns: Int, rows: Int, heights: FloatArray, covered: BooleanArray, baseElevation: Float, maxElevation: Float)
Types
Properties
Functions
Link copied to clipboard
Sea clamp, median-of-9 despike (the source data has isolated spikes on water), flat water, then uncovered cells sit at the lowest covered height with a short feathered slope into it.
Link copied to clipboard
The same ground on a grid at least minimum vertices across and down, read bilinearly.