I'm trying to write an authoring tool for Maya where one of the criterion i have to satisfy is maintain length of a NURBS curve. The authoring tool provides the user the control to edit a NURBS curve , but it should be such that the length of the curve is always maintained. When i say length, i mean the arc length of the curve. Is there a direct relationship between a NURBS curve and it's arc length ?
So ideally this is how i envision my system to work , If any CV's of the curve is altered, the other cv's are altered such that the arc length of the curve is preserved. Any ideas to implement this would be extremely helpful.
Also, How do you think maya computes arcLength ? I'm using a curveInfo node to compute arcLength of a curve. Does it just sum up the peicewise polynomial line segments that make up the curve for it's length ?