@ecogis/gis-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.
25 lines (24 loc) • 1.3 kB
TypeScript
import { IfcState } from '../../BaseDefinitions';
import { BufferGeometry } from 'three';
import { PropertyManagerAPI } from './BaseDefinitions';
import { PropertySerializer } from "./PropertySerializer";
/**
* Contains the logic to get the properties of the items within an IFC model.
*/
export declare class PropertyManager implements PropertyManagerAPI {
private state;
serializer?: PropertySerializer;
private readonly webIfcProps;
private readonly jsonProps;
private currentProps;
constructor(state: IfcState);
getExpressId(geometry: BufferGeometry, faceIndex: number): number;
getHeaderLine(modelID: number, headerType: number): Promise<any>;
getItemProperties(modelID: number, elementID: number, recursive?: boolean): Promise<any>;
getAllItemsOfType(modelID: number, type: number, verbose: boolean): Promise<any[]>;
getPropertySets(modelID: number, elementID: number, recursive?: boolean): Promise<any[]>;
getTypeProperties(modelID: number, elementID: number, recursive?: boolean): Promise<any[]>;
getMaterialsProperties(modelID: number, elementID: number, recursive?: boolean): Promise<any[]>;
getSpatialStructure(modelID: number, includeProperties?: boolean): Promise<any>;
private updateCurrentProps;
}