How can I find t in a Bezier Curve when I know the Y coordinate?

  • Context: Undergrad 
  • Thread starter Thread starter Gabor888
  • Start date Start date
Click For Summary
SUMMARY

This discussion addresses the challenge of finding the parameter 't' in a Bezier curve when the Y coordinate is known. The polynomial Y(t) represents the Y values of the curve, and the goal is to solve the equation Y(t) - Ygiven = 0 for 't', where Ygiven is the known Y value. For lower-degree curves (n=2), established methods exist, while for higher degrees, iterative techniques such as Newton's method are recommended. The discussion emphasizes the importance of identifying roots within the interval [0,1].

PREREQUISITES
  • Understanding of Bezier curves and their mathematical representation
  • Familiarity with polynomial equations and root-finding techniques
  • Knowledge of Newton's method for iterative solutions
  • Basic concepts of polynomial degree and control points
NEXT STEPS
  • Research methods for solving polynomial equations, particularly for Bezier curves
  • Learn about Newton's method and its application in root-finding
  • Explore techniques for factoring polynomials to find roots
  • Study the implications of polynomial degree on solution methods
USEFUL FOR

Mathematicians, computer graphics developers, and anyone involved in curve modeling or animation who needs to determine specific points on Bezier curves based on known coordinates.

Gabor888
Messages
1
Reaction score
0
Hello

I have a little problem with bezier curve. There is a bezier curve, with n degree, with some control points. And the problem is, that i want to know the t, and i know the y of that point. So there's a curve, in this curve there is a point, i know that place, and i want to know, what is t in this bezier.

With this algorithm(which i attached) i know the point, if i know the t
8ce08ca45bf146d5ec689f731367b326.png


but reverse?

i know, that the t can be more numbers. I want just one of them...
 
Mathematics news on Phys.org
The Y(t) coordinate of the 2-dimensional B(t) equation you posted is a polynomial of degree n; what you want are the solutions of the equation Y(t) - Ygiven = 0, that is, the roots of the polynomial Y(t) - Ygiven, where Ygiven is your known Y value. The expression for Y(t) is, of course, the same as in the image you posted, substituting each point P with the Y value of that point. Among the multiple values for t, you want the one(s) that are in the interval [0,1].

If n is small (like 2) there are known methods. Otherwise, a possibility is to use an iterative method like Newton's, since the derivative of the polynomial should be easy to write down. See, for example, http://en.wikipedia.org/wiki/Newton%27s_method" . Or maybe the polynomial turns out to be easy to factor, in which case the roots can be taken immediately from the factored expression.
 
Last edited by a moderator:

Similar threads

  • · Replies 22 ·
Replies
22
Views
6K
  • · Replies 4 ·
Replies
4
Views
21K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 11 ·
Replies
11
Views
13K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 39 ·
2
Replies
39
Views
5K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 13 ·
Replies
13
Views
12K
  • · Replies 3 ·
Replies
3
Views
4K