Parametrize#
- class lumopt2.parametrization.closed_curve.Parametrize(segment_index: int, num_added_vertices: int, bounds: Tuple[float, float], movement: str = 'both', polygon_pts_per_segment: int | None = None)#
Specification for making a segment parametric
- Attributes:
- segment_index
int 1-based index of the segment to make parametric.
- num_added_vertices
int Number of intermediate vertices used for parameterization.
- bounds
Tuple[float,float] Lower and upper bounds for the parameterized movement.
- movement
str,optional Allowed movement direction:
'x-axis','y-axis','both', or'normal'.- polygon_pts_per_segment
Optional[int],optional Number of polygon points used to discretize this segment.
- segment_index
Attributes