summaryrefslogtreecommitdiff
path: root/gerbonara/gerber/panelize/utility.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerbonara/gerber/panelize/utility.py')
-rw-r--r--gerbonara/gerber/panelize/utility.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/gerbonara/gerber/panelize/utility.py b/gerbonara/gerber/panelize/utility.py
index fc44e79..0d57979 100644
--- a/gerbonara/gerber/panelize/utility.py
+++ b/gerbonara/gerber/panelize/utility.py
@@ -5,14 +5,6 @@
from math import cos, sin, pi, sqrt
-# TODO: replace with ..utils.rotate
-#def rotate(x, y, angle, center):
-# x0 = x - center[0]
-# y0 = y - center[1]
-# angle = angle * pi / 180.0
-# return (cos(angle) * x0 - sin(angle) * y0 + center[0],
-# sin(angle) * x0 + cos(angle) * y0 + center[1])
-
def is_equal_value(a, b, error_range=0):
return (a - b) * (a - b) <= error_range * error_range