How to convert 2dCurve(Rational==false) to BSpline2dcrve?

If I want to convert the 2dCurve(Rational==false)to BSpline2dcrve.
How can I do?

Thank's a lot!

Ivy

PG's picture

Try to use ths function

The Geom2dConvert package provides the following global functions:

- converting classical Geom2d curves to BSpline curves,
- segmenting BSpline curves, particularly at knot values: this function may be used in conjunction with the Geom2dConvert_BSplineCurveKnotSplitting class to segment a BSpline curve into arcs which comply with required degrees of continuity.