LineSegment.
linear_interpolation
Interpolate two line segments linearly.
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
Interpolated segment
LineSegment