uf3.representation.bspline.knot_sequence_from_points¶
- knot_sequence_from_points(knot_points: Collection) numpy.ndarray[source]¶
Repeat endpoints to satisfy knot sequence requirements (i.e. fixing first and second derivatives to zero).
- Parameters
knot_points (list or np.ndarray) – sorted knot points in increasing order.
- Returns
knot sequence with repeated ends.
- Return type
knots (np.ndarray)