utils.math.position_manipulation

Created on Fri Apr 21 2023 @name: position_manipulation.py @desc: This module contains some utility functions for position manipulation. @auth: Djalim Simaila @e-mail: djalim.simaila@inrae.fr

Functions

get_mass_properties(obj)

Evaluate and return a tuple with the following elements:

verticalise(obj)

Rotate the object so that the principal axis of inertia is vertical :param obj: Object to analyse