ContourBlend
fun ContourBlend(a: ShapeContour, b: ShapeContour, distanceTolerance: Double = 0.5, lengthScale: Double = 1.0): ContourBlend(source)
Creates a ContourBlend instance for blending between two ShapeContour instances.
This function rectifies the provided contours, splits them into segments suitable for blending, and verifies that both resulting rectified contours have an equal number of segments.
Return
a ContourBlend instance representing the blended contours
Parameters
a
the first ShapeContour to blend
b
the second ShapeContour to blend
Throws
if the preprocessing for contours fails to produce an equal number of segments