resqpy.olio.volume.tetrahedron_volume¶
- resqpy.olio.volume.tetrahedron_volume(a, b, c, d)[source]¶
Returns volume of a tetrahedron.
- Parameters
a (each triple float) – locations of corners of tetrahedron
b (each triple float) – locations of corners of tetrahedron
c (each triple float) – locations of corners of tetrahedron
d (each triple float) – locations of corners of tetrahedron
crs_is_right_handed (boolean, default False) – set True if xyz axes of crs are right handed
- Returns
float, being the volume of the tetrahedron; units are implied by crs units in use by the vertices