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

Method copy_mesh_data

tests/src/MeshFactoryTest.h:14–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12class MeshFactoryTest : public TestBase {
13 protected:
14 MeshPtr copy_mesh_data(const MeshPtr mesh) {
15 return load_data(mesh->get_vertices(), mesh->get_faces(), mesh->get_voxels(),
16 mesh->get_dim(),
17 mesh->get_vertex_per_face(),
18 mesh->get_vertex_per_voxel());
19 }
20
21 void ASSERT_MESH_EQ(const MeshPtr mesh1, const MeshPtr mesh2) const {
22 ASSERT_EQ(mesh1->get_dim(), mesh2->get_dim());

Callers

nothing calls this directly

Calls 6

get_verticesMethod · 0.45
get_facesMethod · 0.45
get_voxelsMethod · 0.45
get_dimMethod · 0.45
get_vertex_per_faceMethod · 0.45
get_vertex_per_voxelMethod · 0.45

Tested by

no test coverage detected