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

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



Ethan Swint:
> On 07/14/2011 11:23 PM, Andrew Poelstra wrote:
...
> > To do either one analytically looks like a 4th order
> > equation must be solved. So I am looking for cheap
> > iterative solutions, or approximations, instead.
>
> If the point is within the arc's bounding box, transform the point's 
> global coordinates into the arc's local (x: major axis, y: minor axis) 
> coordinates.

Ack.

>  Then the distance calculation is a no-brainer.

Could you then show us the formula please ?

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57




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