Part of BplineCurve

Hi all,

I am trying to work on BSplineCurves.
I choose two parameters from the BSPlineCurve within the parameter-boundary defined via the method Geom_BSplineCurve::FirstParameter() and LastParameter();

Now I want to receive the BSplineCurve between these two parameter. Not an edge, a wire or s.th. of that sort.

Any hints ?

Best Regards

Mike

PG's picture

Hi

U can try splitting a b-spline curve at its
knot positions using

GeomConvert_BSplineCurveKnotSplitting and
GeomConvert::SplitBSplineCurve( ... )

Hope this helps

good luck
- Prasad

Forum supervisor's picture

Hello,

Geom_BSplineCurve::Segment() is likely what you are looking for.
The same works for Geom2d_BSplineCurve and Geom(2d)_BezierCurve and *Surface.

Best regards,
Forum supervisor