Ejemplo n.º 1
0
 def rectangle(self, center, xlen, ylen, value):
     rectangle(self.maskx, twodim.center_ex(center), xlen, ylen, value)
     rectangle(self.masky, twodim.center_ey(center), xlen, ylen, value)
     rectangle(self.maskz, twodim.center_ez(center), xlen, ylen, value)
     return self
Ejemplo n.º 2
0
 def rectangle_e(self, center, xlen, ylen, value):
     rectangle(self.epsilon_rx, twodim.center_ex(center), xlen, ylen, value)
     rectangle(self.epsilon_ry, twodim.center_ey(center), xlen, ylen, value)
     rectangle(self.epsilon_rz, twodim.center_ez(center), xlen, ylen, value)
     return self