/** @packageDocumentation * @module OrbitGT */ declare type int32 = number; import { ContentLoader } from "../../../system/storage/ContentLoader"; import { CloudPoint } from "../../model/CloudPoint"; import { PointDataRaw } from "../../model/PointDataRaw"; import { ReadRequest } from "../../model/ReadRequest"; import { TileIndex } from "../../model/TileIndex"; import { FileReader } from "./FileReader"; import { GeometryRecord } from "./GeometryRecord"; import { TileReadBuffer } from "./TileReadBuffer"; /** * Class GeometryReader reads geometry data. * * @version 1.0 January 2014 */ /** @internal */ export declare class GeometryReader { /** The size of the high-resolution record in the file */ static readonly RECORD_SIZE_HR: int32; /** The size of the low-resolution record in the file */ static readonly RECORD_SIZE_LR: int32; /** The number of bins (subdivisions) in a multi-resolution tile */ static readonly MR_BIN_COUNT: int32; /** The file reader */ private _fileReader; /** The level */ private _level; /** The geometry record */ private _geometryRecord; /** The location of the geometry data */ private _geometryDataPart; /** * Create a new reader. * @param opcReader the file reader. * @param level the level. */ constructor(fileReader: FileReader, level: int32); /** * Load the data. * @return the reader. */ loadData(fileContents: ContentLoader): GeometryReader; /** * Get the geometry record. * @return the geometry record. */ getGeometryRecord(): GeometryRecord; /** * Read the raw data for a tile. * @param tile the tile. * @param tileBuffer the buffer to read into. * @param readRequest the read parameters (contains the result read statistics). */ readTileData2(tile: TileIndex, pointOffset: int32, pointCount: int32, tileBuffer: TileReadBuffer, readRequest: ReadRequest, fileContents: ContentLoader): void; /** * Convert a low-resolution coordinate to a high-resolution one. * @param local the low-resolution coordinate. * @return the high-resolution coordinate. */ static lowToHighResolution(local: int32): int32; /** * Get geometry data. * @param tile the tile. * @param tileBuffer the buffer that has been read. * @param pointIndex the index of the point to read. * @param cloudPoint the point to read the geometry of. */ getPointData(tile: TileIndex, tileBuffer: TileReadBuffer, pointIndex: int32, cloudPoint: CloudPoint): void; /** * Get geometry data. * @param tile the tile. * @param tileBuffer the buffer that has been read. * @param pointData the point data. */ getPointDataRaw(tile: TileIndex, tileBuffer: TileReadBuffer, pointData: PointDataRaw): void; } export {}; //# sourceMappingURL=GeometryReader.d.ts.map