On Thu, 2008-10-09 at 19:35 -0700, Ben Jackson wrote:

> Yes, but that test is equivalent to the IsPointInBox except in the
> limited case of rectangles which have parts cut off.  So the enhancement
> avoids via-rats over areas that are missing from the outer contour, but
> not holes.  It does not ADD via rats for arbitrary polygons.
> 
> If you want it to work for arbitrary polygons you'll have to include them
> in the GatherSubnets code.

The test isn't really equivalent to IsPointInBox, it does computation
with real polygons - its not just looking at the bounding box.

I forgot to mention, that I did cut out the "rectangle polys only" tests
in GatherSubnets. OTOH, I've not tested the auto-router - I don't
generally use it. From the comments in the code (which I gather you
wrote), I thought it implied that the rectangle poly requirement was due
to the via-rats code using IsPointInBox.

If there is some limitation in the auto-router's understanding of
Polygons which means they are treated as boxes, then perhaps I need to
take another look. (Any ideas where to start prodding, or how to test
that?)

Best wishes,

-- 
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-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to