# GeomConvert_ApproxCurve

hi,
I want to approximate a curve with bspline curve by utilizing GeomConvert_ApproxCurve according to the following paraeters. every thing is ok but when I check the created bspline degree it returns 5 instead of 3! whats wrong?

GeomConvert_ApproxCurve myspline1(curve,0.5,GeomAbs_C2,1000,3);

I think that for C2 continuity the algorithm needs degree 5.
With degree 3 it can assure continuity C1.
The rule is:
minimum degree = 2 * continuity + 1.

Regards.
Mauro

Thank you Mauro.