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

Function writeFile

src/cpp/test/io_helpers.cpp:81–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 }
80
81 void writeFile(std::string filename, std::string data)
82 {
83 std::string newFileName(filename.begin(), filename.end());
84 std::ofstream out(newFileName);
85 out << data;
86 out.close();
87 }
88
89 void DumpSVGCurve(std::vector<glm::dvec3> points, std::string filename, std::vector<uint32_t> indices)
90 {

Callers 9

DumpSVGCurveFunction · 0.70
DumpGradientCurveFunction · 0.70
DumpSectionCurvesFunction · 0.70
DumpAlignmentFunction · 0.70
DumpCrossSectionsFunction · 0.70
DumpIfcGeometryFunction · 0.70
DumpFlatMeshFunction · 0.70
DumpSVGLinesFunction · 0.70
DumpMeshFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected