MCPcopy Create free account

hub / github.com/ThatOpen/engine_clay / functions

Functions306 in github.com/ThatOpen/engine_clay

Methodconstructor
(model: Model)
packages/clay/src/elements/Plates/SimplePlate/index.ts:12
Methodconstructor
(model: Model, type: SimplePlateType)
packages/clay/src/elements/Plates/SimplePlate/src/index.ts:16
Methodconstructor
(model: Model)
packages/clay/src/elements/Members/SimpleMember/index.ts:12
Methodconstructor
(model: Model, type: SimpleMemberType)
packages/clay/src/elements/Members/SimpleMember/src/index.ts:21
Methodconstructor
(model: Model)
packages/clay/src/elements/Walls/SimpleWall/index.ts:19
Methodconstructor
(model: Model, type: SimpleWallType)
packages/clay/src/elements/Walls/SimpleWall/src/simple-wall.ts:60
Methodconstructor
(wall: SimpleWall)
packages/clay/src/elements/Walls/SimpleWall/src/simple-wall-nester.ts:10
Methodconstructor
(model: Model)
packages/clay/src/elements/Furniture/SimpleFurniture/index.ts:18
Methodconstructor
(model: Model, type: SimpleFurnitureType)
packages/clay/src/elements/Furniture/SimpleFurniture/src/index.ts:13
Methodconstructor
(model: Model)
packages/clay/src/elements/Slabs/SimpleSlab/index.ts:12
Methodconstructor
(model: Model, type: SimpleSlabType)
packages/clay/src/elements/Slabs/SimpleSlab/src/index.ts:19
Methodconstructor
(model: Model)
packages/clay/src/elements/Windows/SimpleWindow/index.ts:32
Methodconstructor
(model: Model, type: SimpleWindowType)
packages/clay/src/elements/Windows/SimpleWindow/src/index.ts:13
Methodconstructor
(model: Model, numberOfColumns?: number, numberOfRows?: number)
packages/clay/src/elements/CurtainWalls/SimpleCurtainWall/index.ts:65
Methodconstructor
(model: Model, type: SimpleCurtainWallType)
packages/clay/src/elements/CurtainWalls/SimpleCurtainWall/src/index.ts:13
Methodconstructor
(model: Model)
packages/clay/src/elements/Openings/SimpleOpening/index.ts:27
Methodconstructor
(model: Model, type: SimpleOpeningType)
packages/clay/src/elements/Openings/SimpleOpening/src/index.ts:13
Methodcontext
* The IFC context of this IFC file.
packages/clay/src/core/Model/index.ts:62
MethodcreateElement
()
packages/clay/src/elements/Plates/SimplePlate/index.ts:31
MethodcreateElement
()
packages/clay/src/elements/Members/SimpleMember/index.ts:31
MethodcreateElement
()
packages/clay/src/elements/Furniture/SimpleFurniture/index.ts:42
MethodcreateElement
()
packages/clay/src/elements/Slabs/SimpleSlab/index.ts:29
MethodcreateElement
()
packages/clay/src/elements/Windows/SimpleWindow/index.ts:128
MethodcreateElement
()
packages/clay/src/elements/CurtainWalls/SimpleCurtainWall/index.ts:477
MethodcreateElement
()
packages/clay/src/elements/Openings/SimpleOpening/index.ts:65
Functiondelete
* Deletes this geometry in the IFC model.
packages/clay/src/core/Geometry/index.ts:39
FunctiondeleteInstance
* {@link ClayElementType.addInstance}. Deletes a specific fragment.
packages/clay/src/core/Elements/DynamicElementType/index.ts:38
FunctiondeleteInstance
* {@link ClayElementType.addInstance}. Deletes a specific instance in the shared fragments.
packages/clay/src/core/Elements/StaticElementType/index.ts:44
Methoddirection
()
packages/clay/src/elements/Walls/SimpleWall/src/simple-wall.ts:37
Methoddirection
()
packages/clay/src/elements/CurtainWalls/SimpleCurtainWall/index.ts:58
MethoddomElement
(element: HTMLCanvasElement)
packages/clay/src/primitives/Polygons/index.ts:57
MethodeditMode
()
packages/clay/src/primitives/Polygons/index.ts:31
Methodenabled
()
packages/clay/src/primitives/Planes/index.ts:44
MethodendPoint3D
()
packages/clay/src/elements/Walls/SimpleWall/src/simple-wall.ts:55
FunctiongenerateTSNamespace
(dts: Map<string, string>)
packages/clay/vite.config.ts:8
Methodget
* Gets the coordinates of the vertex with the given ID. * @param id the id of the point to retrieve.
packages/clay/src/primitives/Vertices/index.ts:56
MethodgetFromFace
* Given a face, returns the extrusion that contains it. * @param faceID The ID of the face whose extrusion to get.
packages/clay/src/primitives/Extrusions/index.ts:142
MethodgetLastID
* Gets the last ID in the geometry buffer.
packages/clay/src/utils/id-index-map.ts:114
MethodgetNormal
(points: number[][])
packages/clay/src/utils/vector.ts:14
MethodgetNormal
* Gets the normalVector of a face. * @param id The face whose normal vector to get.
packages/clay/src/primitives/Faces/index.ts:396
Functionids
* The list of ids of the {@link list} of items.
packages/clay/src/primitives/Primitive/index.ts:22
Methodids
* The list of IDs inside this map. IDs are generated as increasing natural * numbers starting from zero. The position of the ID in the array is
packages/clay/src/utils/id-index-map.ts:29
MethodifcAPI
* The core of our libraries. It contains our IFC parser and geometry engine.
packages/clay/src/core/Model/index.ts:45
FunctionifcToThreeGeometry
(data: WEBIFC.IfcGeometry)
packages/clay/src/core/Elements/Element/index.ts:138
Methodindices
* The list of indices of the geometric buffer. The position of the index in * the array is the ID of that entity. For instance, the ids of a map wi
packages/clay/src/utils/id-index-map.ts:46
Methoditems
()
packages/clay/src/utils/transform-controls.ts:11
Methoditems
()
packages/clay/src/primitives/Polygons/index.ts:27
MethodknotsIDs
()
packages/clay/src/primitives/OffsetFaces/index.ts:49
Methodlength
()
packages/clay/src/elements/CurtainWalls/SimpleCurtainWall/index.ts:46
MethodlineThreshold
(threshold: number)
packages/clay/src/primitives/Snapper/index.ts:40
Functionmeshes
* The list of all meshes of the fragments that compose this element.
packages/clay/src/core/Elements/Element/index.ts:40
MethodmidPoint
()
packages/clay/src/elements/CurtainWalls/SimpleCurtainWall/index.ts:50
MethodmodelID
* The ID that identifies this IFC file.
packages/clay/src/core/Model/index.ts:52
FunctionnewFragment
()
packages/clay/src/core/Elements/ElementType/index.ts:44
Methodnormal
()
packages/clay/src/elements/Walls/SimpleWall/src/simple-wall.ts:44
Methodregenerate
(ids = this.offsetFaces.ids)
packages/clay/src/primitives/OffsetFaces3D/index.ts:60
Methodremove
* Removes the specified item from the map and rearrange the indices to * keep the continuity of the geometric buffer.
packages/clay/src/utils/id-index-map.ts:66
Methodremove
(itemID: number)
packages/clay/src/general/ElementChildren/index.ts:36
Methodremove
(itemID: number)
packages/clay/src/general/SpatialChildren/index.ts:36
Methodremove
(id: number)
packages/clay/src/geometries/MappedItems/index.ts:94
Methodremove
* Removes Extrusions. * @param ids List of extrusions to remove. If no face is specified, * removes all the selected extrusions.
packages/clay/src/primitives/Extrusions/index.ts:105
Methodremove
* Removes the selected points from the list
packages/clay/src/primitives/Vertices/index.ts:146
MethodremoveHelpers
()
packages/clay/src/primitives/Snapper/index.ts:86
MethodremovePoint
(id: number)
packages/clay/src/geometries/Profiles/ArbitraryClosedProfile/index.ts:47
MethodremovePoints
(ids = this.selectedPoints.data as Iterable<number>)
packages/clay/src/primitives/Faces/index.ts:267
FunctionremoveSubtraction
* Remove the specified geometry as subtraction (if it is a subtraction). * @param geometry the geometry whose subtraction to remove. If this geomet
packages/clay/src/core/Geometry/index.ts:103
FunctionremoveSubtraction
* Removes an existing subtraction from this element. * @param subtraction the element whose subtraction will be removed from this element.
packages/clay/src/core/Elements/Element/index.ts:130
MethodremoveSubtraction
(element: ClayElement)
packages/clay/src/elements/Walls/SimpleWall/src/simple-wall.ts:135
Methodreset
* Resets this instance to the initial state.
packages/clay/src/utils/id-index-map.ts:82
Methodreset
Gets rid of all the suscribed events.
packages/clay/src/core/Event/index.ts:30
Methodselect
* Select or unselects the given faces. * @param active Whether to select or unselect. * @param ids List of faces IDs to select or unselect. If n
packages/clay/src/utils/selector.ts:11
Methodselect
* Select or unselects the given Extrusions. * @param active Whether to select or unselect. * @param ids List of extrusion IDs to select or unsel
packages/clay/src/primitives/Extrusions/index.ts:152
Methodselect
* Select or unselects the given Walls. * @param active Whether to select or unselect. * @param ids List of walls IDs to select or unselect. If n
packages/clay/src/primitives/OffsetFaces3D/index.ts:87
FunctionselectColor
* The color of all the selected points.
packages/clay/src/primitives/Primitive/index.ts:47
MethodselectColor
* The color of all the selected points.
packages/clay/src/primitives/Lines/index.ts:52
MethodselectColor
* The color of all the selected points.
packages/clay/src/primitives/Vertices/index.ts:27
MethodselectColor
* The color of all the selected points.
packages/clay/src/primitives/Faces/index.ts:71
MethodselectKnots
* Select or unselects the given knots. * @param active Whether to select or unselect. * @param ids List of knot IDs to select or unselect. If no
packages/clay/src/primitives/OffsetFaces/index.ts:113
MethodsetOffset
* Sets the offset of the specified OffsetFaces. * @param offset The offset to set. * @param ids List of knot IDs whose offset to change. If not
packages/clay/src/primitives/OffsetFaces/index.ts:176
MethodsetOffset
(offset: number, ids = this.selected.data)
packages/clay/src/primitives/OffsetFaces3D/index.ts:117
MethodsetPoint
* Sets a point of the face to a specific position. * @param id The point whose position to set. * @param coordinates The new coordinates of the
packages/clay/src/primitives/Faces/index.ts:332
MethodsetWidth
* Sets the width of the specified OffsetFaces. * @param width The width to set. * @param ids List of knot IDs whose width to change. If not spec
packages/clay/src/primitives/OffsetFaces/index.ts:193
MethodsetWidth
(width: number, ids = this.selected.data)
packages/clay/src/primitives/OffsetFaces3D/index.ts:112
Methodsize
The current size of the buffers.
packages/clay/src/utils/buffer-manager.ts:14
MethodsquaredMagnitude
(vector: number[])
packages/clay/src/utils/vector.ts:47
MethodstartPoint3D
()
packages/clay/src/elements/Walls/SimpleWall/src/simple-wall.ts:50
MethodtoThreeCoords
(value: THREE.Vector3)
packages/clay/src/utils/math-utils.ts:14
MethodtoThreeRot
(value: THREE.Euler)
packages/clay/src/utils/math-utils.ts:22
MethodtrackMouse
()
packages/clay/src/utils/raycaster.ts:13
Methodtransform
* Applies a transformation to the selected vertices. * @param matrix Transformation matrix to apply.
packages/clay/src/primitives/OffsetFaces/index.ts:205
Methodtransform
(matrix: THREE.Matrix4)
packages/clay/src/primitives/Lines/index.ts:225
Methodtransform
* Applies a transformation to the selected geometries. * @param matrix Transformation matrix to apply.
packages/clay/src/primitives/OffsetFaces3D/index.ts:107
Methodtransform
* Applies a transformation to the selected vertices. * @param matrix Transformation matrix to apply. * @param ids IDs of the vertices to transfo
packages/clay/src/primitives/Vertices/index.ts:119
Methodtransform
* Applies a transformation to the selected vertices. * @param matrix Transformation matrix to apply.
packages/clay/src/primitives/Faces/index.ts:343
Methodup
()
packages/clay/src/utils/vector.ts:2
Functionupdate
* Updates all the elements of this type. * @param updateGeometry whether to update the element geometries or not. Remember that in dynamic types, e
packages/clay/src/core/Elements/DynamicElementType/index.ts:66
Functionupdate
* Updates this element both in the IFC model and in the 3D scene. * @param updateGeometry whether to update the geometries of the fragments that co
packages/clay/src/core/Elements/Element/index.ts:61
Functionupdate
* Updates all the elements of this type. * @param updateGeometry whether to update the element geometries or not. Remember that in static types, al
packages/clay/src/core/Elements/StaticElementType/index.ts:62
Methodupdate
()
packages/clay/src/general/Site/index.ts:53
Methodupdate
()
packages/clay/src/general/Project/index.ts:115
← previousnext →201–300 of 306, ranked by callers