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

Function GetCoordinationMatrix

src/cpp/wasm/web-ifc-wasm.cpp:310–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308}
309
310std::array<double, 16> GetCoordinationMatrix(uint32_t modelID)
311{
312 return manager.IsModelOpen(modelID) ? manager.GetGeometryProcessor(modelID)->GetFlatCoordinationMatrix() : std::array<double, 16>();
313}
314/*
315 * @brief Returns the 4x4 world transformation matrix for a given placement Express ID,
316 * flattened into a 1D array of 16 doubles in **column-major order**.

Callers

nothing calls this directly

Calls 3

GetGeometryProcessorMethod · 0.80
IsModelOpenMethod · 0.45

Tested by

no test coverage detected