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

Method write_mesh_raw

tests/TestBase.h:74–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 }
73
74 virtual void write_mesh_raw(const std::string& mesh_file,
75 const Eigen::Ref<const VectorF>& vertices,
76 const Eigen::Ref<const VectorI>& faces,
77 const Eigen::Ref<const VectorI>& voxels,
78 size_t dim, size_t vertex_per_face, size_t vertex_per_voxel,
79 bool in_ascii=false) {
80 MeshWriter::Ptr writer = MeshWriter::create(mesh_file);
81 if (in_ascii) writer->in_ascii();
82 writer->write(vertices, faces, voxels,
83 dim, vertex_per_face, vertex_per_voxel);
84 }
85
86 virtual void write_mesh_raw(const std::string& mesh_file,
87 const Eigen::Ref<const MatrixFr>& vertices,

Callers

nothing calls this directly

Calls 2

in_asciiMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected