ClosedCurveLinearSegment#
- class lumopt2.parametrization.closed_curve.ClosedCurveLinearSegment(start_vertex_idx: int, end_vertex_idx: int, n_vertices_lumerical_polygon: int = 50)#
A linear segment connecting two vertices
Initialize this class the same way as its parent class. Documentation to the parent class is below.
Base class for segments in a composite Bezier geometry.
- Parameters:
Methods
ClosedCurveLinearSegment.evaluate(vertices, ...)Evaluate linear segment (possibly subdivided with control points).
Get the control point positions for visualization.
Get number of optimization parameters for this segment.
Make this segment parametric for optimization.