Hi All,
I am using IBSplineCurve_DG.Interpolate() to fit a set of 3D points into a bspline curve and the result looks pretty good. I see that the number of poles of the resulting bspline curve is always nearly equal to the number of the points. I was actually expecting a fit kind of functionality where for 25-30 input points I would get like 5 poles. Am I using wrong interface/function?
Any suggestions will be greatly appreciated. Thank You.
Joel
Fitting a b-spline curve
-
- Posts: 121
- Joined: Mon Apr 04, 2016 4:55 am
Re: Fitting a b-spline curve
Hi Joel
Sorry for the later answer.
You just need to use the InitFromPoints*() methods instead. This is the difference. Interpolate means passing through the points. InitFromPoints*() approximates presumably some redundant set with smaller number of poles using something like minimal squares algorithm.
Regards
Sorry for the later answer.
You just need to use the InitFromPoints*() methods instead. This is the difference. Interpolate means passing through the points. InitFromPoints*() approximates presumably some redundant set with smaller number of poles using something like minimal squares algorithm.
Regards
-
- Posts: 2
- Joined: Mon Aug 19, 2019 2:11 am
Re: Fitting a b-spline curve
Thanks, Parashant
It makes sense
It makes sense