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:
- start
Union[List,np.ndarray] Starting coordinate
[x, y]for the segment.- type
str Segment type, either
linear/lorcubic/c.- polygon_pts_per_segment
int,optional Number of polygon points used to discretize this segment.
- start
Attributes