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

Function DumpIfcGeometryToPath

src/cpp/test/io_helpers.cpp:212–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210 }
211
212 void DumpIfcGeometryToPath(const webifc::geometry::IfcGeometry &geom, std::string path, double inputScale)
213 {
214 size_t offset = 0;
215 std::ofstream out(path.c_str());
216 out << ToObj(geom, offset, glm::dmat4(1), inputScale);
217 }
218
219 std::string ToObj(webifc::geometry::IfcGeometry &geom, size_t &offset, glm::dmat4 transform)
220 {

Callers

nothing calls this directly

Calls 1

ToObjFunction · 0.70

Tested by

no test coverage detected