Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyMesh/PyMesh
/ getElement
Method
getElement
tools/Assembler/Elements/TetrahedronElements.cpp:40–42 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
38
}
39
40
VectorI TetrahedronElements::getElement(size_t ei) const {
41
return m_mesh->get_voxel(ei);
42
}
43
44
Float TetrahedronElements::getElementVolume(size_t ei) const {
45
return m_mesh->get_attribute(
"voxel_volume"
)[ei];
Callers
nothing calls this directly
Calls
1
get_voxel
Method · 0.80
Tested by
no test coverage detected