Re: improve a spline

Liste des GroupesRevenir à cl tcl 
Sujet : Re: improve a spline
De : saitology9 (at) *nospam* gmail.com (saito)
Groupes : comp.lang.tcl
Date : 13. Jun 2025, 18:44:59
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <102ho2s$3iplm$1@dont-email.me>
References : 1 2 3 4
User-Agent : Mozilla Thunderbird
On 6/13/2025 4:28 AM, Arjen wrote:

 This is the character of the Bezier smoothing. If you want a curve with
only a single "bent", you might consider to derive a midpoint from the
two endpoints and draw a smoothed line (-smooth 1) through THREE points.
 A possible method:
- Take the vector from point A to point B
- Determine the normal n to that vector (note: choice of direction!)
- Use a fraction of the distance between A and B to calculate the new point:
    new point = (A + B)/2 + fraction * distance(A,B) * normal vector
 You have a number of choices here :).
Thanks. I will give it a try. And I appreciate your confidence in my geometry chops :-)

Date Sujet#  Auteur
12 Jun 25 * improve a spline7saito
13 Jun 25 `* Re: improve a spline6Emiliano
13 Jun 25  `* Re: improve a spline5saito
13 Jun 25   +* Re: improve a spline2Arjen
13 Jun 25   i`- Re: improve a spline1saito
13 Jun 25   `* Re: improve a spline2Emiliano
13 Jun 25    `- Re: improve a spline1saito

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal