new GOIFCLiner(components, ui)
Initializes the liner component with the given components and UI.
| Name | Type | Description |
|---|---|---|
components |
The main components manager. |
|
ui |
The GoIFCUI instance for UI interactions. |
Extends
- undefined
Members
-
goIFCComponents
-
Gets the GoIFCComponents instance associated with this liner.
-
loader
-
Gets the GoIFCLoader instance for accessing IFC fragments.
Methods
-
clearLinesForMesh(sourceMesh){void}
Interactions/IFC/interact/GoIFCComponents/Components/GoIFCLiner/index.ts, line 121 -
Removes all lines associated with a given mesh from the scene and internal mapping.
Name Type Description sourceMeshThe mesh whose associated lines should be removed.
Returns:
Type Description void -
asyncdrawDynamicLinesFromMeshToExpressIds(sourceMesh, expressIds){Promise.<void>}
Interactions/IFC/interact/GoIFCComponents/Components/GoIFCLiner/index.ts, line 51 -
Draws dynamic lines from a movable mesh to a set of IFC element express IDs. The lines are stored and can be updated later using the mesh reference.
Name Type Description sourceMeshThe mesh from which lines will originate.
expressIdsA set of IFC express IDs representing the target elements.
Returns:
Type Description Promise.<void> Resolves when all lines are drawn. -
updateLines(sourceMesh){void}
Interactions/IFC/interact/GoIFCComponents/Components/GoIFCLiner/index.ts, line 102 -
Updates the origin point of stored lines associated with a given mesh.
Name Type Description sourceMeshThe mesh whose new position should be used to update the lines.
Returns:
Type Description void
