MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / write_and_load

Method write_and_load

tests/tools/Geogram/GeogramMeshIOTest.h:19–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 }
18
19 GeoMeshPtr write_and_load(const std::string& filename, GeoMeshPtr mesh) {
20 GeogramMeshIO::save_mesh(filename, mesh);
21 auto r = GeogramMeshIO::load_mesh(filename);
22 remove(filename);
23 return r;
24 }
25
26 void remove(const std::string& filename) {
27 std::string full_name = filename;

Callers

nothing calls this directly

Calls 3

load_meshFunction · 0.85
removeFunction · 0.85
save_meshFunction · 0.50

Tested by

no test coverage detected