UNPKG

@itwin/core-frontend

Version:
27 lines 912 B
/** @packageDocumentation * @module Views */ import { Range1d, Range2d } from "@itwin/core-geometry"; import { QuadId } from "./tile/internal"; /** * A collection of functions for approximating terrain height * @internal */ export declare class ApproximateTerrainHeights { static readonly maxLevel = 6; readonly globalHeightRange: Range1d; private _terrainHeights?; private readonly _scratchCorners; private readonly _tilingScheme; private readonly _scratchTileXY; static get instance(): ApproximateTerrainHeights; /** * Initializes the minimum and maximum terrain heights. * @return {Promise} */ initialize(): Promise<void>; getTileHeightRange(quadId: QuadId, result?: Range1d): Range1d; getMinimumMaximumHeights(rectangle: Range2d, result?: Range1d): Range1d; private _getTileXYLevel; } //# sourceMappingURL=ApproximateTerrainHeights.d.ts.map