12 lines
295 B
Python
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
|