Problem with joining two bspline curves...

Hi,

I am trying to join several bspline curves into one single curve. I made sure that the last pole of one curve is identical to the first pole of the next curve. However, i get an error everytime i try to add a new curve:
GeomConvert_CompCurveToBSplineCurve gen(curve[0]);
bool bb=gen.Add(curve[1], Precision::Confusion(), Standard_True, Standard_False, 1); //this call ends throws an error...

Clearly I am missing something here...Could anyone please suggest what the problem might be?

Thanks,

Claudia

Simion Claudia's picture

could maybe someone post a concrete example when the Add function would actually work...?

thank you!

Claudia

Torsten Sadowski's picture

Hi,

could you post what error occurs and what curves you try to add?

Torsten