diff options
author | jaseg <git@jaseg.de> | 2023-04-05 01:29:33 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2023-04-10 23:57:15 +0200 |
commit | ae1f522862099e51472fc70046f913348f49e6f3 (patch) | |
tree | 88b604876b53f2ab7f6a313677b935a19fd64bfd /gerbonara/utils.py | |
parent | 44ca8349ebfef90b363ea765af44f5d6261778fe (diff) | |
download | gerbonara-ae1f522862099e51472fc70046f913348f49e6f3.tar.gz gerbonara-ae1f522862099e51472fc70046f913348f49e6f3.tar.bz2 gerbonara-ae1f522862099e51472fc70046f913348f49e6f3.zip |
Initial protoboard generation working
Diffstat (limited to 'gerbonara/utils.py')
-rw-r--r-- | gerbonara/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/utils.py b/gerbonara/utils.py index 32954bd..47fb178 100644 --- a/gerbonara/utils.py +++ b/gerbonara/utils.py @@ -528,7 +528,7 @@ def point_in_polygon(point, poly): def bbox_intersect(a, b): (xa_min, ya_min), (xa_max, ya_max) = a - (xb_min, yb_min), (xb_mbx, yb_mbx) = b + (xb_min, yb_min), (xb_max, yb_max) = b x_overlap = not (xa_max < xb_min or xb_max < xa_min) y_overlap = not (ya_max < yb_min or yb_max < ya_min) |