def compute (self, instruction): if instruction.mode is enum.EXTERN: value = self.points.compute (instruction) if value != None: self.update ([(instruction.dst, value)]) else: try: SpatialData.compute (self, instruction) except: self.points.compute (instruction)
def compute(self, instruction): if instruction.mode is enum.EXTERN: value = self.points.compute(instruction) if value != None: self.update([(instruction.dst, value)]) else: try: SpatialData.compute(self, instruction) except: self.points.compute(instruction)
def __init__ (self, data, source): SpatialData.__init__ (self, source) self.points = PointList () self.update (data)
def __init__(self, data, source): SpatialData.__init__(self, source) self.points = PointList() self.update(data)
def __init__ (self, data, source): SpatialData.__init__ (self, source) self.update(data)
def __init__(self, data, source): SpatialData.__init__(self, source) self.update(data)