[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: pcb GL can't render stretched arcs



On Sat, 2011-07-16 at 19:16 +0200, Karl Hammar wrote:
> Stefan Salewski:
> > http://www.geometrictools.com/Documentation/DistanceEllipse2Ellipse2.pdf
> 
> It seems a little too general and it is a 35MB download [1].
> Their code seems to be in
> 
>  LibMathematics/Intersection/Wm5IntrEllipse2Ellipse2.cpp
> 
> and at a quick glance it seems to be a lot of calculations.
> 
> Do you have any experience about their library ?
> 
> Regards,
> /Karl Hammar
> 

I am using their solution for "Distance point to  line segment", it is
fine. Many other sources, as the mathematica site, confuses it with the
simpler solution for an infinite line. But I was in need for distance to
finite line segment -- and I was not smart enough to find that simple
solution myself.

Of course math for ellipses is more difficult, but I think the
www.geometrictools.com page is really nice, I have bookmarked it. But I
have not looked at their ellipses code.




_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user