segments

Contents

segments#

zeroheliumkit.src.plotting.segments(curve) list[source]#

Returns a list of segments from a given curve. Each segment is represented as a LineString object.

Parameters:

curve – A LineString or MultiLineString object representing the curve.

Returns:

A list of LineString objects representing the segments of the curve.

Return type:

list