Previous topic

xsect.calc.multi_inertias

Next topic

xsect.calc.multi_principal_angles

This Page

xsect.calc.multi_principal_inertias

xsect.calc.multi_principal_inertias(add, subtract=[])[source]

Calculates the principal area moment of inertias for multiple shapes. Returns an array of shape (2,).

Parameters:
add : list

A list of (x, y) boundary coordinates for shapes included in the cross section. Each set of boundary coordinates should be of the shape (N, 2).

subtract : list

A list of (x, y) boundary coordinates for cut out shapes to be subtracted from the cross section. Each set of boundary coordinates should be of the shape (N, 2).