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

2011-07-15 Thread Karl Hammar
Andrew Poelstra: On Thu, Jul 14, 2011 at 08:29:53PM +0200, Karl Hammar wrote: ... Why not just give a warning if width and height is not equal, saying that we don't really support ellipses for the moment, and be done with it. I could, I suppose, but as you mentioned in another post, there

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

2011-07-15 Thread Karl Hammar
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

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

2011-07-15 Thread Andrew Poelstra
I am using the polar form of the ellipse given at: http://en.wikipedia.org/wiki/Ellipse#Polar_form_relative_to_center with theta the angle of the point we are checking. (Those cos and sin calculations are easy, just delta-x/len and delta-y/len.) With that I can calculate the distance from the

gEDA-user: generic symbols en custom pin numbers

2011-07-15 Thread Hans Schulz
As sort of an extension to heterogeneous symbols I wonder how I can make generic symbols, consisting of a set of subsymbols, e.g. a relay coil and several types of contact arrangements like SPST and SPDT, all as separate, little symbols. In my design I would then select the appropriate subparts

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

2011-07-15 Thread Karl Hammar
Andrew Poelstra: I am using the polar form of the ellipse given at: http://en.wikipedia.org/wiki/Ellipse#Polar_form_relative_to_center with theta the angle of the point we are checking. (Those cos and sin calculations are easy, just delta-x/len and delta-y/len.) With that I can calculate

Re: gEDA-user: generic symbols en custom pin numbers

2011-07-15 Thread Karl Hammar
Hans Schultz: As sort of an extension to heterogeneous symbols I wonder how I can make generic symbols, consisting of a set of subsymbols, e.g. a relay coil and several types of contact arrangements like SPST and SPDT, all as separate, little symbols. In my design I would then select the

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

2011-07-15 Thread Andrew Poelstra
On Fri, Jul 15, 2011 at 09:45:42PM +0200, Karl Hammar wrote: Andrew Poelstra: I am using the polar form of the ellipse given at: http://en.wikipedia.org/wiki/Ellipse#Polar_form_relative_to_center with theta the angle of the point we are checking. (Those cos and sin calculations are

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

2011-07-15 Thread Igor Lopez
2011/7/16 Andrew Poelstra as...@sfu.ca: There is a fairly informative discussion of this problem on SO: http://stackoverflow.com/questions/2945337/how-to-detect-if-an-ellipse-intersectscollides-with-a-circle I had a look and found one algebraic solution close to the one I have proposed. The