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

Re: gEDA-user: pcb, howto get plain rats lines instead of circles



On Wed, 2008-10-08 at 14:54 +0100, Peter Clifton wrote:

> It also, rather horridly, doesn't appear to initialise the new pad
> structure it makes. I've encountered platform differences before now as
> to whether such memory ends up as 0, or random data:

[snip]

> That leaves flags unknown (could start at any value),
> ID, Bounding box, net, and Clearance all undefined.

Ugly, but closer inspection reveals unimportant.. the other fields are
never used.

Anyway... looks like the polygon is being cast to a BoxType (picking up
the polygon's bounding box), being jiggled to the shape of a pad, then
tested for insidedness.

I couldn't spot anything wrong with the (admittedly strange) way the
IsPointInPad test works, so was thinking to check the polygon bounding
boxes next.

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



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