| 10 | using namespace PyMesh; |
| 11 | |
| 12 | void WireWriter::write(const std::string& filename, const WireNetwork& wires) { |
| 13 | const MatrixFr& vertices = wires.get_vertices(); |
| 14 | const MatrixIr& edges = wires.get_edges(); |
| 15 | write_raw(filename, vertices, edges); |
| 16 | } |
| 17 | |
| 18 | void WireWriter::write_raw(const std::string& filename, |
| 19 | const MatrixFr& vertices, const MatrixIr& edges) { |