Previous topic

xsect.calc.centroid

Next topic

xsect.calc.principal_inertias

This Page

xsect.calc.inertias

xsect.calc.inertias(points, origin=None)[source]

Returns the area moment of inertias for the shape defined by the input boundary points. The result is an array of shape (4,).

Parameters:
points : array

An array of (x, y) coordinates of shape (N, 2).

origin : array

The (x, y) origin about which the moment of inertias will be calculated. The array should be of the shape (2,). If None, the origin will be assumed to be located at the centroid of the section.

Returns:
inertia_x : float

The moment of inertia about the x-axis.

inertia_y : float

The moment of inertia about the y-axis.

inertia_j : float

The polar moment of inertia.

inertia_xy : float

The product of inertia.