jpcad/Distance.py
2011-03-28 16:40:07 -04:00

12 lines
295 B
Python

from Constraint import Constraint
class Distance(Constraint):
def __init__(self, shape1, pt1, shape2, pt2, direction, dist):
self.shape1 = shape1
self.pt1 = pt1
self.shape2 = shape2
self.pt2 = pt2
self.dist = dist
self.direction = direction