LucyLa
LucyLa

Reputation: 41

Find Bezier control points P1 and P2 given P0, P3 and B(t) as knowns

I'll be doing this in LUA. 2D cubic bezier curve.

I know the start and end points of the curve and I have an arbitrary point with x,y,t all known.

I have tried to apply de Casteljau to this so:

But I cannot find a way to complete the solution chain with the givens that I have.

I have searched this and other forums for info on this but none I found gives a concrete approach to coding the solution.

Any help would be appreciated, even if it's "it can't be done without making assumptions about ..."

Upvotes: 1

Views: 434

Answers (1)

Zaynab Muthana
Zaynab Muthana

Reputation: 1

Consider the Bezier curve defined by the control points po(0,0,1), Pi(1,1,0), P2(3,1,2), P3(2,7,0) and PA(1,9,1), translate this curve three units along y-axis to generate swept surfaces, then find parametric equation of the surface and the point on the surface in x,y and z-axis for u=0.25.

Upvotes: 0

Related Questions