Skip to main content

Class: FragmentIfcLoader

components.FragmentIfcLoader

Reads all the geometry of the IFC file and generates a set of fragments. It can also return the properties as a JSON file, as well as other sets of information within the IFC file.

Hierarchy

  • Component<WEBIFC.IfcAPI>

    FragmentIfcLoader

Implements

Properties

settings

settings: IfcFragmentSettings

Configuration of the IFC-fragment conversion.

Defined in

temp/components/fragments/FragmentIfcLoader/index.ts:30

Methods

dispose

dispose(): void

dispose

Returns

void

Implementation of

Disposable.dispose

Defined in

temp/components/fragments/FragmentIfcLoader/index.ts:67


hasUI

hasUI(): this is UI

Whether is component implements any kind of UI.

Returns

this is UI

Inherited from

Component.hasUI

Defined in

temp/components/base-types/component.ts:48


isDisposeable

isDisposeable(): this is Disposable

Whether is component is Disposable.

Returns

this is Disposable

Inherited from

Component.isDisposeable

Defined in

temp/components/base-types/component.ts:28


isHideable

isHideable(): this is Hideable

Whether is component is Hideable.

Returns

this is Hideable

Inherited from

Component.isHideable

Defined in

temp/components/base-types/component.ts:43


isResizeable

isResizeable(): this is Resizeable

Whether is component is Resizeable.

Returns

this is Resizeable

Inherited from

Component.isResizeable

Defined in

temp/components/base-types/component.ts:33


isUpdateable

isUpdateable(): this is Updateable

Whether is component is Updateable.

Returns

this is Updateable

Inherited from

Component.isUpdateable

Defined in

temp/components/base-types/component.ts:38


load

load(data): Promise<FragmentGroup>

Loads the IFC file and converts it to a set of fragments.

Parameters

NameType
dataUint8Array

Returns

Promise<FragmentGroup>

Defined in

temp/components/fragments/FragmentIfcLoader/index.ts:78