Segment#

class lumopt2.parametrization.closed_curve.Segment(start: List | ndarray, type: str, polygon_pts_per_segment: int = None)#

Specification for a segment in Composite Bezier path.gy. Used to create the path list.

Attributes:
startUnion[List, np.ndarray]

Starting coordinate [x, y] for the segment.

typestr

Segment type, either linear/l or cubic/c.

polygon_pts_per_segmentint, optional

Number of polygon points used to discretize this segment.

Attributes