compute_basisfuncs
- compas.geometry.compute_basisfuncs(degree, knotvector, i, u)[source]
Compute the nonzero basis functions for a given parameter value.
- Parameters:
- degreeint
Degree of the curve.
- knotvectorlist
Knot vector of the curve.
- iint
Knot span index.
- ufloat
Parameter value.
- Returns:
- list[float]
Basis functions.
See also
Notes
In any given knot span,
\) at most degree + 1 of the basis functions are nonzero, namely the functions .References
The NURBS Book. Chapter 2. Page 56. The NURBS Book. Chapter 2. Page 70. Algorithm A2.2.