Point on Bezier Curve
-
Can anyone suggest me an algorithm or a method to find "Whether a Point is exist on a Bezier Curve or not"? ie. I have x & y and I want to check whether that coordinate exist on the bezier curve or not.
-
Can anyone suggest me an algorithm or a method to find "Whether a Point is exist on a Bezier Curve or not"? ie. I have x & y and I want to check whether that coordinate exist on the bezier curve or not.
Try the following link (from Google 'bezier curves') http://www.moshplant.com/direct-or/bezier/math.html
John P.
-
Can anyone suggest me an algorithm or a method to find "Whether a Point is exist on a Bezier Curve or not"? ie. I have x & y and I want to check whether that coordinate exist on the bezier curve or not.
PremalathaP wrote:
Can anyone suggest me an algorithm or a method to find "Whether a Point is exist on a Bezier Curve or not"?
Try to search on the PopCap developer forum, I remember there were lots of discussions about Bezier Curve. (obviously lots of people are trying to clone Zuma :|) http://developer.popcap.com/forums.php[^]
-
Can anyone suggest me an algorithm or a method to find "Whether a Point is exist on a Bezier Curve or not"? ie. I have x & y and I want to check whether that coordinate exist on the bezier curve or not.
Are you using vb.net if so I have something that might help. If your not using vb you may be able to convert it to c or whatever flvor you like, I think the code I originally got my example from was java and I rewrote and expanded on it for vb.net. The program draws a curve, then you click on the curve, if the x,y appears on the curve the curve is redrawn showing where you clicked and splitting the curve. It's not commented but you should be able to figure it out. If interested let me know and I can send the code, it's app. 68kb and I did not want to clutter up the board.
-
Try the following link (from Google 'bezier curves') http://www.moshplant.com/direct-or/bezier/math.html
John P.
thanks: https://movied.org
-
Can anyone suggest me an algorithm or a method to find "Whether a Point is exist on a Bezier Curve or not"? ie. I have x & y and I want to check whether that coordinate exist on the bezier curve or not.
thanks: https://movied.org
-
Are you using vb.net if so I have something that might help. If your not using vb you may be able to convert it to c or whatever flvor you like, I think the code I originally got my example from was java and I rewrote and expanded on it for vb.net. The program draws a curve, then you click on the curve, if the x,y appears on the curve the curve is redrawn showing where you clicked and splitting the curve. It's not commented but you should be able to figure it out. If interested let me know and I can send the code, it's app. 68kb and I did not want to clutter up the board.
thanks: https://movied.org
-
PremalathaP wrote:
Can anyone suggest me an algorithm or a method to find "Whether a Point is exist on a Bezier Curve or not"?
Try to search on the PopCap developer forum, I remember there were lots of discussions about Bezier Curve. (obviously lots of people are trying to clone Zuma :|) http://developer.popcap.com/forums.php[^]
thanks: https://movied.org