Encode a height matrix into a Cesium quantized-mesh terrain tile.
heights
width
height
bounds
center
QuantizedMeshResult with the binary data.
QuantizedMeshResult
Encode a height matrix into a Cesium quantized-mesh terrain tile.
Arguments
heights— Float32Array, row-major (width × height)width— number of columnsheight— number of rowsbounds— Float64Array [min_lng, min_lat, max_lng, max_lat]center— Float64Array [x, y, z] in ECEFReturns
QuantizedMeshResultwith the binary data.