<p>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.</p>

<p><a href="https://i.sstatic.net/cZzWl.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/cZzWl.png" alt="enter image description here"></a></p>

<p><strong>Image 1</strong>: 3 differently parametrized knots result in same curve if knot values are relatively the same.</p>

<p>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.</p>

<p><a href="https://i.sstatic.net/ICsHG.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ICsHG.png" alt="enter image description here"></a></p>

<p><strong>Image 2</strong>: 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.</p>

CC BY-SA 3.0
2016-12-01T09:18:12.977Z
Thanks for the reply joojaa! I understand that relative size of the spacing of knots is irrelevant for the NURBS curve. But I need a normalized knot span for computational purpose in undocumented legacy application. Currently I am facing issues when the knot span is not normalized. Does normalizing the knot span have no effect on the control points of the NURB surface/curve? If so, I can simply normalize the knot span between 0 and 1 using standard normalizing formula without worrying about its effects on control point list. I wish to know if it is safe to do so.
Vaibhav
CC BY-SA 3.0
2016-12-01T12:36:15.947Z
@Vaibhav as long as you scale and offset by a uniform amount yes sure you can normalize thats what example number 2 does.
joojaa
CC BY-SA 3.0
2016-12-01T09:00:20.597Z
2016-12-01T09:00:20.597Z
joojaa
<p>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?</p>

<p>Thanks for your help!</p>

<nurbs><cad>
Normalize NURBS knot vector
Vaibhav
# Normalize NURBS knot vector

(Asked by: username_0 on 2016-11-30)

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!

**Tags:** nurbs, cad


---

## 1 answers

### Answer by username_1 on 2016-12-01. Score: 1 | Accepted answer

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.

[![enter image description here](https://i.sstatic.net/cZzWl.png)](https://i.sstatic.net/cZzWl.png)

**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.

[![enter image description here](https://i.sstatic.net/ICsHG.png)](https://i.sstatic.net/ICsHG.png)

**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.

> **Comments:**
> **username_0**: Thanks for the reply username_1! I understand that relative size of the spacing of knots is irrelevant for the NURBS curve. But I need a normalized knot span for computational purpose in undocumented legacy application. Currently I am facing issues when the knot span is not normalized. Does normalizing the knot span have no effect on the control points of the NURB surface/curve? If so, I can simply normalize the knot span between 0 and 1 using standard normalizing formula without worrying about its effects on control point list. I wish to know if it is safe to do so.  
> **username_1**: @username_0 as long as you scale and offset by a uniform amount yes sure you can normalize thats what example number 2 does.  

---

