PDA

View Full Version : Bezier Curves



nithya
07-22-2003, 09:48 PM
how can a curve be drawn passing through 3 points with the second point as the vertex. Using Bezier Splines means the curve does not pass through the 2nd control point. Is there any method to find the distance between the vertex of the curve and the control point.

OneSadCookie
07-22-2003, 11:29 PM
You can find a parabola that passes through any three points (in 2D, I guess the same sort of thing works in 3D), if that's what you want...

Otherwise, just evaluating the curve at 0.5 and finding the distance between that point and the control point ought to be good enough..

nithya
07-23-2003, 10:03 PM
Thank you very much sir, i drew the curve. i didn't know that by finding the pt at .5 will give the pt on the curve. it helped me a lot.thank u.
nithya.

Originally posted by OneSadCookie:
You can find a parabola that passes through any three points (in 2D, I guess the same sort of thing works in 3D), if that's what you want...

Otherwise, just evaluating the curve at 0.5 and finding the distance between that point and the control point ought to be good enough..