I've checked the code for GeomLib::ExtendCurveToPoint.
It doens't use special classes. all the computation is done with BSpline Curves in this function.
I think it is not a big amound of work to copy/paste the code and instead of working with 3d entities, use 2d curves.
Hi Stephane,
Thank you for you reply, I have checked "GeomLib::ExtendCurveToPoint". I feel it is a litte nuisance, because if I modify this function to 2d curve and I also need to modify "GeomConvert_CompCurveToBSplineCurve". So I decide to convert my curve in 3d, do the work in 3d and convert it back to 2d.
Sincerely,
Angel
Wed, 08/21/2002 - 15:24
Hi,
Workaround :
you can convert your curve in 3d, do the work in 3d and convert it back to 2d.
Wed, 08/21/2002 - 15:27
Or better:
I've checked the code for GeomLib::ExtendCurveToPoint.
It doens't use special classes. all the computation is done with BSpline Curves in this function.
I think it is not a big amound of work to copy/paste the code and instead of working with 3d entities, use 2d curves.
Fri, 08/23/2002 - 03:03
Hi Stephane,
Thank you for you reply, I have checked "GeomLib::ExtendCurveToPoint". I feel it is a litte nuisance, because if I modify this function to 2d curve and I also need to modify "GeomConvert_CompCurveToBSplineCurve". So I decide to convert my curve in 3d, do the work in 3d and convert it back to 2d.
Sincerely,
Angel