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

Method get_num_voxels

src/Mesh.cpp:29–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29size_t Mesh::get_num_voxels() const {
30 return m_geometry->get_num_voxels();
31}
32
33VectorF Mesh::get_vertex(size_t i) {
34 const size_t dim = get_dim();

Callers 15

update_3DMethod · 0.45
update_3DMethod · 0.45
update_3DMethod · 0.45
initialize_3D_gridMethod · 0.45
adaptMethod · 0.45
getNbrElementsMethod · 0.45
verify_voxel_meshMethod · 0.45
adaptMethod · 0.45
adapt_boundaryMethod · 0.45
getNbrElementsMethod · 0.45
check_meshMethod · 0.45
tile_3DMethod · 0.45

Calls

no outgoing calls

Tested by 15

TEST_FFunction · 0.36
TEST_FFunction · 0.36
check_vertex_fieldMethod · 0.36
check_voxel_fieldMethod · 0.36
TEST_FFunction · 0.36
createMethod · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36