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

Function DumpSVGCurve

src/cpp/test/io_helpers.cpp:89–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87 }
88
89 void DumpSVGCurve(std::vector<glm::dvec3> points, std::string filename, std::vector<uint32_t> indices)
90 {
91 std::vector<glm::dvec2> points2D;
92 for (auto &pt : points)
93 {
94 points2D.emplace_back(pt.x, pt.z);
95 }
96 writeFile(filename, makeSVGLines(points2D, indices));
97 }
98
99 void svgMakeLine(glm::dvec2 a, glm::dvec2 b, std::stringstream &svg, std::string col)
100 {

Callers

nothing calls this directly

Calls 2

writeFileFunction · 0.70
makeSVGLinesFunction · 0.70

Tested by

no test coverage detected