/** @packageDocumentation * @module OrbitGT */ declare type int32 = number; import { BlockIndex } from "../model/BlockIndex"; import { Grid } from "../model/Grid"; import { GridIndex } from "../model/GridIndex"; import { Block } from "./Block"; /** * Class Level defines a resolution level of a pointcloud. * * @version 1.0 November 2015 */ /** @internal */ export declare class Level { /** The index of the level */ private _index; /** The unique key of the level */ private _key; /** The grid of the blocks */ private _blockGrid; /** The grid of the tiles */ private _tileGrid; /** The list of blocks */ private _blockList; /** The map of blocks */ private _blockMap; /** * Create a new level. * @param index the index of the level. * @param blockGrid the grid of the blocks. * @param tileGrid the grid of the tiles. * @param blockList the list of blocks. */ constructor(index: int32, blockGrid: Grid, tileGrid: Grid, blockList: Array); /** * Set the block list. * @param blockList the list of blocks. */ setBlockList(blockList: Array): void; /** * Get the index of the level. * @return the index of the level. */ getIndex(): int32; /** * Get the unique key of the level. * @return the unique key of the level. */ getKey(): string; /** * Get the block grid. * @return the block grid. */ getBlockGrid(): Grid; /** * Get the tile grid. * @return the tile grid. */ getTileGrid(): Grid; /** * List all blocks. * @return all blocks. */ getBlocks(): Array; /** * Get the number of blocks. * @return the number of blocks. */ getBlockCount(): int32; /** * Find a block. * @param blockIndex the index of the block to find. * @return the block. */ findBlock(blockIndex: BlockIndex): Block; /** * Find a block index. * @param blockIndex the index of the block to find. * @return the block (can be null). */ findBlockGridIndex(blockIndex: GridIndex): Block; /** * Find the block for a tile. * @param tileGridIndex the grid index of the tile. * @return the block (can be null). */ findBlockForTile(tileGridIndex: GridIndex): Block; } export {}; //# sourceMappingURL=Level.d.ts.map