Could anyone explain the fact that a segment of a Bezier curve is sometimes incorrectly drawn as a straight line?
The picture is attached: it also visualizes the array of 10 Ports.point's which was passed to the Views.Frame.DrawPath procedure.
The second picture shows that the Bezier segment for the anomalous four points is well-defined (the middle red curve segment was produces in an independent drawing application using the four points).
The effect is stable with respect to sufficiently small deformations of the View's parameters -- but disappears for larger deformations, and reappears (with another segment drawn incorrectly) for another set of parameters.
Perhaps there is a way to detect and prevent this condition beforehand?
Thanks in advance.
Cheers
Fyodor.Tkachov{([at]})nowhere.xy
Attachments: badbezier.gif, badbezier2.gif
Powered by the E-mail PIM - Info Select - www.miclog.com
Received on Mon Dec 20 2004 - 15:44:05 UTC