UNPKG

@itwin/core-frontend

Version:
19 lines 1.02 kB
import { PointCloudReader } from "@itwin/core-orbitgt"; import { SpatialLocationAndExtents } from "../../RealityDataSource"; /** * This class provide methods used to interpret Orbit Point Cloud (OPC) format */ export declare class OPCFormatInterpreter { /** Gets an OPC file reader from a blobFileUrl * @param blobFileURL the name of the file. * @returns return a file reader open to read provided blob file */ static getFileReaderFromBlobFileURL(blobFileURL: string): Promise<PointCloudReader>; /** Gets reality data spatial location and extents * @param fileReader a file reader instance obtains from call to getFileReaderFromBlobFileURL * @returns spatial location and volume of interest, in meters, centered around `spatial location` * @throws [[RealityDataError]] if source is invalid or cannot be read */ static getSpatialLocationAndExtents(fileReader: PointCloudReader): Promise<SpatialLocationAndExtents>; } //# sourceMappingURL=OPCFormatInterpreter.d.ts.map