Example #1
0
 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)
Example #2
0
 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)
Example #3
0
 def __init__ (self, data, source):
     SpatialData.__init__ (self, source)
     self.points = PointList ()
     self.update (data)
Example #4
0
 def __init__(self, data, source):
     SpatialData.__init__(self, source)
     self.points = PointList()
     self.update(data)
Example #5
0
 def __init__ (self, data, source):
     SpatialData.__init__ (self, source)
     self.update(data)
Example #6
0
 def __init__(self, data, source):
     SpatialData.__init__(self, source)
     self.update(data)