
Mon, 07/27/2009 - 14:17
Forums:
Hi, I have 2 questions about curve extention
1- When I try GeomLib::ExtendCurveToPoint for curves of type GeomAbs_Line, I get segmentation fault. Is it a bug? And is there a way to convert GeomAbs_Line to other types?
2- Is there a way to extend curves with lengths (ExtendCurveByLength) instead of using points (like in GeomLib::ExtendSurfByLength)
Thanks in advance
Tue, 05/15/2012 - 14:51
2- I have done it this way:
a. Evaluate the curve tangent unit vector in the end to extend
b. Compute a point at the given distance from the curve end, along the tangent
c. Call GeomLib::ExtendCurveToPoint, with continuity 1.
Bye.
Mauro