UNPKG

itowns

Version:

A JS/WebGL framework for 3D geospatial data visualization

19 lines (18 loc) 1.1 kB
/** * Calculates the minimum maximum texture elevation with xbil data * * @param {THREE.Texture} texture The texture to parse * @param {THREE.Vector4} pitch The pitch, restrict zone to parse * @param {Object} options No data value and clamp values * @param {number} options.noDataValue No data value * @param {number} [options.zmin] The minimum elevation value after which it will be clamped * @param {number} [options.zmax] The maximum elevation value after which it will be clamped * @return {Object} The minimum and maximum elevation. */ export function computeMinMaxElevation(texture: THREE.Texture, pitch: THREE.Vector4, options: { noDataValue: number; zmin?: number | undefined; zmax?: number | undefined; }): Object; export function checkNodeElevationTextureValidity(data: any, noDataValue: any): boolean; export function insertSignificantValuesFromParent(data: any, dataParent: () => number, noDataValue: any): void;