mpacts.geometrygenerators. inertia

In order to be able to use this module import it like this:

import mpacts.geometrygenerators.inertia
#or assign it to a shorter name
import mpacts.geometrygenerators.inertia as ine
mpacts.geometrygenerators.inertia.inertiaTensorTetra(tetra, rho=1.0)

inertia tensor of a tetrahedron; only uses the vertices, according to Tonon2005 (fixed stupid mistake from there by Jirka!).