Module Name: pcb
Committed By: danmc
Date: Thu Jul 8 01:32:40 UTC 2004
Fix a bug related to checking for the intersection of a circular region
defined by an line end point and its radius and a rectangular pin/pad.
The old code looked for the intersection of the smallest square which
encloses the circular region and the rectangular pin/pad region. However
this method claims that there are intersections when in fact there are not.
For example a very wide trace has a significant area enclosed by the
square which encloses the circular region defined by the line end and
radius that is not enclosed by the circular region.
The new code actually looks for intersection of the circular region and
the square region.
To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 pcb/src/rubberband.c
To view the diffs online visit:
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.