| 74 | } |
| 75 | |
| 76 | void MSHWriter::write_mesh(Mesh& mesh) { |
| 77 | if (mesh.get_num_voxels() == 0) { |
| 78 | write_surface_mesh(mesh); |
| 79 | } else { |
| 80 | write_volume_mesh(mesh); |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | void MSHWriter::write(const VectorF& vertices, const VectorI& faces, const VectorI& voxels, |
| 85 | size_t dim, size_t vertex_per_face, size_t vertex_per_voxel) { |
nothing calls this directly
no test coverage detected