pub fn calc_rotational_symmetry(
inertia_tensor: &Matrix3<f64>,
thresh: f64,
) -> RotationalSymmetryExpand description
Determines the rotational symmetry given an inertia tensor.
§Arguments
inertia_tensor- An inertia tensor which is a $3 \times 3$ matrix.thresh- A threshold for comparing moments of inertia.
§Returns
The rotational symmetry as one of the RotationalSymmetry variants.
§Panics
Panics when the moments of inertia cannot be compared.