|
From: Dan M. <da...@us...> - 2004-07-08 01:32:46
|
Module Name: pcb Committed By: danmc Date: Thu Jul 8 01:32:40 UTC 2004 Modified Files: pcb/src: rubberband.c Log Message: 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: http://cvs.sourceforge.net/viewcvs.py/pcb/pcb/src/rubberband.c?r1=1.9&r2=1.10 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |