DJ,

I think with most polygon libraries, when you do a union, you can get 
back the coordinates of where the overlap occurs.  At that point, you 
should be able to zoom in, or generate an image of the offending location.

I haven't tried it yet, but thats my understanding.

A couple of libraries and code samples that I have found with an initial 
search are:

http://www.cs.man.ac.uk/~toby/alan/software/
http://clippoly.sourceforge.net/
http://sourceforge.net/projects/polyclipping/
http://boolean.klaasholwerda.nl/bool.html
http://www.cgal.org/Manual/3.2/doc_html/cgal_manual/Boolean_set_operations_2/Chapter_main.html

cgal and polyclipping (clipper) look promising.  I'm gonna mess around 
with it a bit and see what I can figure out.

Perhaps PCB has some code in it that we can use as a starting point?

Glad to see there is some interest here.


On 4/1/2011 6:56 PM, DJ Delorie wrote:
>>   * bloat or reduce those shapes by a certain amount,
> PCB does it this way.  The biggest problem is, a drc violation doesn't
> always mean you know *where* it happened.  If you actually measure
> distances between objects, you know exactly where the violation
> happens.
>
> ------------------------------------------------------------------------------
> Create and publish websites with WebMatrix
> Use the most popular FREE web apps or write code yourself;
> WebMatrix provides all the features you need to develop and
> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
> _______________________________________________
> Gerbv-devel mailing list
> Gerbv-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gerbv-devel
>
>


------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Gerbv-devel mailing list
Gerbv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gerbv-devel

Reply via email to