Geometric characteristics.

The section is devoted to measuring the geometric characteristics of the constructed geometry.

Since the concepts of density and scale are very ephemeral for the computational library, all calculations are carried out in arbitrary units. Converting values to the si system requires additional calculations.

Built-in methods

Shape has a number of methods for querying geometric information. -> point3
shape.cmradius() -> vector3

Center of mass.

shape.mass() -> float

Matrix of inertia.

shape.matrix_of_inertia() -> matrix33

Static moments.

shape.static_moments() -> float, float, float

Moment of inertia about the axis.


Radius of gyration.


Measuring body systems