Creating a Bezier curve by passing through point

Hi,
I want to create a Bezier curve by passing through point and not by control point.
Sincerely
Angel

Stephane Routelous's picture

Hi,

the easiest way :
1/ create a bspline ( GeomAPI_PointsToBSpline )
2/ convert the bspline into bezier ( GeomConvert_BSplineCurveToBezierCurve )

HTH

angel's picture

I need the curvature variation is smooth like as Bezier, but it is created by using passing through point. If I create a Bspline curve and then convert it to bezier curve, the curvature variation is still sharp because it comes from Bspline curve.