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

Method element_volumes

python/pymesh/Mesh.py:270–274  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

268
269 @property
270 def element_volumes(self):
271 if self.num_voxels == 0:
272 return self.get_attribute("face_area")
273 else:
274 return self.get_attribute("voxel_volume")
275
276 @property
277 def attribute_names(self):

Callers

nothing calls this directly

Calls 1

get_attributeMethod · 0.95

Tested by

no test coverage detected