I have multiple cubic Bézier curve segments which are contiguous and G1 (they are the result of the fitting of many curve samples).
Now I would like to transform these Bézier segments into a single NURBS curve. When there is a single Bézier segment, the operation is rather easy:
- Same 4 control points as the Bézier segment
- Knots vector is 0 0 0 0 1 1 1 1
- degree is 3
Now when there are multiple Bézier segments I don't know what to do to convert them into a single NURBS. Any idea?