UNPKG

@loaders.gl/3d-tiles

Version:

3D Tiles, an open standard for streaming massive heterogeneous 3D geospatial datasets.

28 lines 981 B
import type { ReadableFile } from '@loaders.gl/loader-utils'; import { IndexedArchive } from '@loaders.gl/zip'; /** * Class for handling information about 3tz file */ export declare class Tiles3DArchive extends IndexedArchive { /** hash info */ private hashTable?; /** * creates Tiles3DArchive handler * @param fileProvider - readable file handle with the whole archive * @param hashTable - hash info */ constructor(fileProvider: ReadableFile, hashTable?: Record<string, bigint>, fileName?: string); /** * Returns file with the given path from 3tz archive * @param path - path inside the 3tz * @returns buffer with ready to use file */ getFile(path: string): Promise<ArrayBuffer>; /** * Trying to get raw file data by adress * @param path - path inside the archive * @returns buffer with the raw file data */ private getFileBytes; } //# sourceMappingURL=3d-tiles-archive-archive.d.ts.map