compute_basisfuncsderivs

compas.geometry.compute_basisfuncsderivs(degree, knotvector, i, u, n)[source]

Compute the derivatives of the basis functions for a given parameter value.

Parameters:
degreeint

Degree of the curve.

knotvectorlist[int | float]

Knot vector of the curve.

iint

Knot span index.

ufloat

Parameter value.

nint

Number of derivatives to compute.

Returns:
list[float]

Derivatives of the basis functions.

References

The NURBS Book. Chapter 2. Page 72. Algorithm A2.3.