Previous topic

xsect.calc.multi_principal_gyradii

Next topic

xsect.calc.multi_principal_extreme_fibers

This Page

xsect.calc.multi_extreme_fibers

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

Calculates the extreme fibers from the x and y axes. 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).