Hello,
I would get discrete 3d points on a 3d Curve , using GCPnts_UniformAbscissa class.
I have built a 3d BSpline curve from array of points , using a call like this :
Handle(Geom_BSplineCurve) aBSplineCurve = aBSpline.Curve(); aBSpline comes from GeomAPI_PointsToBSpline.
So aBSplineCurve is an handle<Geom_Curve>
The costructor of GCPnts_UniformAbscissa accepts only "const Adaptor3d_Curve&"
My final question is :
How convert a 'const opencascade::handle<Geom_Curve> (aBSplineCurve) to a 'const Adaptor3d_Curve , to be used in GCPnts_UniformAbscissa ?
Thanks in advance
I would get discrete 3d points on a 3d Curve , using GCPnts_UniformAbscissa class.
I have built a 3d BSpline curve from array of points , using a call like this :
Handle(Geom_BSplineCurve) aBSplineCurve = aBSpline.Curve(); aBSpline comes from GeomAPI_PointsToBSpline.
So aBSplineCurve is an handle<Geom_Curve>
The costructor of GCPnts_UniformAbscissa accepts only "const Adaptor3d_Curve&"
My final question is :
How convert a 'const opencascade::handle<Geom_Curve> (aBSplineCurve) to a 'const Adaptor3d_Curve , to be used in GCPnts_UniformAbscissa ?
Thanks in advance