
Wed, 02/05/2003 - 10:19
Forums:
I have a sequence of bezier curves connected to each
other. Is it possible to convert it to a single bezier curve ?
For eg. i have a full circle. When I convert it to a bezier, OCC splits it into 3 bezier-arcs ( beacuse of knots distribution). I want to connect these 3 arcs into a single bezier curve.
Any help is welcome.
regards
- prasad
Wed, 02/05/2003 - 17:31
you can use GeomConvert_CompCurveToBSplineCurve to connect the curves in one bspline, and after that use GeomConvert_BSplineCurveToBezierCurve.
But take care, because it is an approximation, so you will perhaps loose some precision in the convertion
HTH