mergeing two curves

Hi. Everybody.

i created two curve.
one is geom_line, the other is geom_arc.
Of curse, two curve is coincident at the end of curve.
I would like to merge into one curve.
Thanks

H.C Son

Francois Lauzon's picture

Hi,
try using GeomConvert_CompCurveToBSplineCurve to concat your curve, or if you want to concat a wire which has your line and arc, try BRepAdaptor_CompCurve to make the wire behave like a curve and then approximate it with Approx_Curve3d.

Good Luck,
Francois.

sonhc11's picture

Thanks for your answer.
You answer is good in my code