Clamped B-spline curves

1.5k Views Asked by At

This is not a question about research , i am trying to create B-Spline curves but i don't understand how can i generate a clamped B-spline?More precisely the knots are fixed($m = n + p + 1$) , how can i make first 4 and last 4 knots idenctical, as an example shown below? Picture is in attachment and source : http://www.cs.mtu.edu/~shene/COURSES/cs3621/NOTES/spline/B-spline/bspline-curve.html enter image description here

1

There are 1 best solutions below

2
On

The knot vector is part of the b-spline definition. So, just make the first 4 knots 0.0 and the last 4 knots 1.0 and the resulting cubic b-spline curve will be clamped.