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