Forum archiveIssue archiveOther usage issues

Archived discussion

BSpline

Other usage issuesFri, 03/30/2001 - 14:341 reply

Browse this forum
QuestionAuthor

Hello,

I have a problem with a BSpline. How can I compute y-value of point at the BSpline(2d) if I have a x-value? This point is not a control point.

Thank you for your help.

Damir J.

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

Hi,

intersect your bspline with line x = x-value (by Geom2dAPI_InterCurveCurve class). You get 2d point (or several 2d points) and can take its y-coordinats.

Best regards, Commenter-1.