DiscussionsIssue archiveOther usage issues

Archived discussion

curve segment

Other usage issuesTue, 08/06/2002 - 02:251 reply

Browse this forum
QuestionAuthor

Hi,

I am new to OpenCascade. In one project, I encountered the following problem:

Having a generic curve (closed or open), we define a curve segment on the given curve by clicking three points on it. These three points include tail and head of the curve segment and the middle point specifies which segment is intended in the case of closed curve. We wanted to use this segment to create a new curve.

Question: Does Open Cascade support such operation? If yes, how? Any suggestions are greatly appreciated.

Jim

Discussion

1 archived reply

Posts are displayed in their archived order.

01Author

I reply to my post. I found a function that can serve this purpose:

SplitBSplineCurve(curve, u1, u2, tolerance, orientation).

Now I need to find out how to get u1 and u2 based on 3D points.