catmullRom(alpha:)
Interpolate data points with Catmull-Rom spline, using the given alpha parameter.
Declaration
static func catmullRom(alpha: CGFloat) -> InterpolationMethodParameters
- alpha:
A parameter for the Catmull-Rom spline. Use 0 for a uniform spline, 0.5 for the centripetal spline, and 1.0 for the chordal spline.