MCPcopy Create free account
hub / github.com/ThatOpen/engine_web-ifc / GetGeometry

Method GetGeometry

src/ts/web-ifc-api.ts:641–643  ·  view source on GitHub ↗

* Retrieves the geometry of an element * @param modelID Model handle retrieved by OpenModel * @param geometryExpressID express ID of the element * @returns Geometry of the element as a list of vertices and indices

(modelID: number, geometryExpressID: number)

Source from the content-addressed store, hash-verified

639 * @returns Geometry of the element as a list of vertices and indices
640 */
641 GetGeometry(modelID: number, geometryExpressID: number): IfcGeometry {
642 return this.wasmModule.GetGeometry(modelID, geometryExpressID);
643 }
644
645 CreateAABB() {
646 return this.wasmModule.CreateAABB();

Callers 12

GetFlatMeshFunction · 0.80
StreamMeshesFunction · 0.80
LoadAllGeometryFunction · 0.80
GetGeometryFunction · 0.80
ToObjThreeFunction · 0.80
LoadAllTestFunction · 0.80
GetAllRebarsFunction · 0.80
ToObjFunction · 0.80
getBufferGeometryFunction · 0.80
WebIfcApi.spec.tsFile · 0.80
getBufferGeometryMethod · 0.80
geometrystream.tsFile · 0.80

Calls

no outgoing calls

Tested by 4

ToObjThreeFunction · 0.64
LoadAllTestFunction · 0.64
GetAllRebarsFunction · 0.64
ToObjFunction · 0.64