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