Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyMesh/PyMesh
/ get_voxel
Method
get_voxel
src/Mesh.cpp:43–46 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
41
}
42
43
VectorI Mesh::get_voxel(size_t i) {
44
size_t stride = get_vertex_per_voxel();
45
return get_voxels().segment(i*stride, stride);
46
}
47
48
VectorF Mesh::get_vertex(size_t i) const {
49
const size_t dim = get_dim();
Callers
15
getElement
Method · 0.80
getElement
Method · 0.80
getElementCenter
Method · 0.80
get_3D_tiling_operators
Method · 0.80
extract_boundary
Method · 0.80
init_vertex_adjacencies
Method · 0.80
init_voxel_adjacencies
Method · 0.80
compute_from_tet_mesh
Method · 0.80
compute_from_hex_mesh
Method · 0.80
compute_from_mesh
Method · 0.80
compute_signed_tet_volume
Method · 0.80
compute_signed_hex_volume
Method · 0.80
Calls
no outgoing calls
Tested by
4
TEST_F
Function · 0.64
TEST_F
Function · 0.64
TEST_F
Function · 0.64
validate_centroid
Method · 0.64