diff --git a/Equal.py b/Equal.py new file mode 100644 index 0000000..030ba31 --- /dev/null +++ b/Equal.py @@ -0,0 +1,9 @@ + +from Constraint import Constraint + +class Equal(Constraint): + def __init__(self, shape1, pt1, shape2, pt2): + self.shape1 = shape1 + self.shape2 = shape2 + self.pt1 = pt1 + self.pt2 = pt2 diff --git a/EqualConstraint.py b/EqualConstraint.py deleted file mode 100644 index 1e4dc3e..0000000 --- a/EqualConstraint.py +++ /dev/null @@ -1,9 +0,0 @@ - -from Constraint import Constraint - -class EqualConstraint(Constraint): - def __init__(self, shape1, attr1, shape2, attr2): - self.shape1 = shape1 - self.shape2 = shape2 - self.attr1 = attr1 - self.attr2 = attr2