clamped

fun <T : LinearType<T>> clamped(controlPoints: List<T>, degree: Int = 3): BSpline<T>(source)

The clamped spline on uniform knots: the first and last knot have multiplicity p + 1, so the curve starts at the first control point and ends at the last, in the directions of the first and last edge of the control polygon.