UNPKG

web-ifc-three

Version:

This library is the implementation of [web-ifc](https://github.com/tomvandig/web-ifc) for [THREE.js](https://github.com/mrdoob/three.js/). This is the official IFCLoader of Three.js.

22 lines (21 loc) 986 B
import { OptionalCategories, ParserAPI } from '../../components/IFCParser'; import { WorkerAPIs } from '../BaseDefinitions'; import { IFCWorkerHandler } from '../IFCWorkerHandler'; import { IFCModel } from '../../components/IFCModel'; import { Serializer } from '../serializer/Serializer'; import { BvhManager } from '../../components/BvhManager'; import { IndexedDatabase } from '../../indexedDB/IndexedDatabase'; export declare class ParserHandler implements ParserAPI { private handler; private serializer; private BVH; private IDB; optionalCategories: OptionalCategories; API: WorkerAPIs; constructor(handler: IFCWorkerHandler, serializer: Serializer, BVH: BvhManager, IDB: IndexedDatabase); setupOptionalCategories(config: OptionalCategories): Promise<any>; parse(buffer: any, coordinationMatrix?: number[]): Promise<IFCModel>; getAndClearErrors(_modelId: number): void; private updateState; private getModel; }