jpcad/DistanceConstraint.py
2011-03-25 15:42:12 -04:00

11 lines
271 B
Python

from Constraint import Constraint
class DistanceConstraint(Constraint):
def __init__(self, shape1, attr1, shape2, attr2, dist):
self.shape1 = shape1
self.shape2 = shape2
self.attr1 = attr1
self.attr2 = attr2
self.dist = dist