weldx.geometry.LineSegment.linear_interpolation¶
- classmethod LineSegment.linear_interpolation(segment_a, segment_b, weight)¶
Interpolate two line segments linearly.
- Parameters
segment_a – First segment
segment_b – Second segment
weight – Weighting factor in the range [0 .. 1] where 0 is segment a and 1 is segment b
- Returns
Interpolated segment
- Return type