Redirecting to geda-dev, I've been discussing code on geda-user for too
long already!

On Fri, 2008-10-10 at 01:36 +0100, Peter Clifton wrote:

> This may break slightly with my experimental code to allow polygons to
> clear away other polygons. That is the only kind of object I could
> imagine clearing a useful hole in a Polygon, where I'd not want to have
> via-rats showing up in the hole. All other types of objects which cut
> holes in polygons would get in the way of that via-rat's connectivity
> anyway, so it doesn't matter if I ignore that hole.

One (expensive) way around this, would be to pass the testing function
the object we're trying to connect to as a parameter. We could then make
a copy of the polygon being tested, do a restore-to-polygon operation
for the object we're trying to connect, then test for the point.

Like I said, expensive.
-- 
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