Hi Matseevsky,
You convinced me.  My proposition was to simplistic. I've tried to add
more requirements for the curve, but found always a loophole.
If I'll find something else, I'll write you. Cheers, Samy

--- In [email protected], "a_matseevsky"
<[EMAIL PROTECTED]> wrote:
>
> --- In [email protected], "Samuel Dagan" <dagan@> 
> wrote:
> >
> > Hi! 
> > I am not kidding. Your example is what I meant by "inflection 
> points".
> > I forgot to add that the curve should be continuous. 
> > Cheers, Samy
> 
> > > Are you kidding? Let's try to imagine 5 points- P1, P2, P3, P4 
> and 
> > > P5. P1 and P5 are end points, P3 is the middle one. If the 
> distance 
> > > from P0 to P1 is less than distance from P0 to P5, you 
> > > recommendation is to select point P1, P2, P3. Well but why do 
> you 
> > > think, that distance from P0 to P4 cannot be less than from P0 
> to 
> > > P1?!
> 
> Well, but what makes you think that if a curve is continuos, minimal 
> distance cannot be from P0 to P4?! Let's speak about one single link 
> of a Bezier curve. To get points with minimal distance from some 
> point P0 to this link of a Bezier curve, one has to find roots of 5-
> order polynom (is this a proper term?) Square of a distance from P0 
> to P, belongigng to Bezier curve's link, is a polynom. Its first 
> derivate is a polynom too. One has to find its roots, to calculate 
> distance from P0 to corresponding points and compare with end points 
> of aforesaid link (yep, roots must be between 0 and 1). There is no 
> other way to calc minimal distance correctly. Coruse, having more 
> than one link (polyBezier) some links could be excluded due to the 
> fact that each link lies inside convex polygon, based on control 
> points of a Bezier's link.
>



------------------------------------

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to