validate_mass_props_and_unc() is a convenience wrapper that calculates the logical
conjunction of validate_mass_props() and validate_mass_props_unc().
Arguments
- mpu
Mass properties and uncertainties list containing the following named elements
massmass (numeric)center_masscenter of mass (3-dimensional numeric)inertiaInertia tensor (3x3 numeric matrix)pointLogical indicating point mass, i.e., negligible inertiasigma_massmass uncertaintysigma_center_masscenter of mass uncertainty (3-dimensional numeric)sigma_inertiaInertia tensor uncertainty (3x3 numeric matrix)
Examples
mpu <- get_mass_props_and_unc(sawe_table, "Widget")
validate_mass_props_and_unc(mpu)
#> [1] TRUE