Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Bezier Curve equation
Posted 25 févr. 2013, 22:55 UTC−5 Geometry Version 4.3, Version 4.3a 1 Reply
Please login with a confirmed email address before reporting spam
Hello,
My model involves drawing a second order Bezier curve, and as part of it I have to be able to get the "Y" value on the curve for a certain "X" value. Normally that wouldn't be an issue because it's a matter of playing with quadratics, however the points calculated are close... but wrong. What equation does Comsol use (factoring in the weights) to generate to Bezier curve, or if that information isn't available, how can I go about mapping an "X" coordinate onto the curve.
Thanks,
Aaron Shifman
My model involves drawing a second order Bezier curve, and as part of it I have to be able to get the "Y" value on the curve for a certain "X" value. Normally that wouldn't be an issue because it's a matter of playing with quadratics, however the points calculated are close... but wrong. What equation does Comsol use (factoring in the weights) to generate to Bezier curve, or if that information isn't available, how can I go about mapping an "X" coordinate onto the curve.
Thanks,
Aaron Shifman
1 Reply Last Post 26 févr. 2013, 02:18 UTC−5