Contents

cardinal(tension:)

Interpolate data points with cardinal spline, using the given tension parameter.

Declaration

static func cardinal(tension: CGFloat) -> InterpolationMethod

Parameters

  • tension:

    A parameter that controls the length of tangents in the cardinal spline.