weldx.geometry.Shape.interpolate¶
-
classmethod
Shape.
interpolate
(shape_a, shape_b, weight, interpolation_schemes)¶ Interpolate 2 shapes.
- Parameters
shape_a – First shape
shape_b – Second shape
weight – Weighting factor in the range [0 .. 1] where 0 is shape a and 1 is shape b
interpolation_schemes – List of interpolation schemes for each segment of the shape.
- Returns
Interpolated shape
- Return type