Normalize NURBS knot vector I have NURBS surface data. I have a list of control points, knot vectors in U and V params and the degree. The U knot vector lies in range -3.14 to 3.14 and the knot V vector lies in range -100 to 100. How can I normalize this data so that both knot U and V lies in range 0 to 1?

Thanks for your help!
The relative size of the spacing of knots is irrelevant for the NURBS curve. The only thing that matters is that they keep the relation. Note this may not be wise as parametrization may have other uses behind the scenes.



Image 1: 3 differently parametrized knots result in same curve if knot values are relatively the same.

So you can scale and offset knot points as you wish. However you can not make the relative distances between entries different or your curve will change.



Image 2: On the other hand if you change the relative spacing your in trouble. So beware of floating point errors if you need to be really accurate.