pyorc.CrossSection.linearize#

CrossSection.linearize()[source]#

Snap cross-section points to a best-fit straight line while preserving Z values.

The points are projected onto the line, maintaining their relative positions along it.

Returns:

New straightened cross section instance.

Return type:

CrossSection