Exemple #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
Exemple #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
Exemple #3
0
 def circle(self, center, r, value):
     circle(self.maskx, twodim.center_ex(center), r, value)
     circle(self.masky, twodim.center_ey(center), r, value)
     circle(self.maskz, twodim.center_ez(center), r, value)
     return self
Exemple #4
0
 def circle_e(self, center, r, value):
     circle(self.epsilon_rx, twodim.center_ex(center), r, value)
     circle(self.epsilon_ry, twodim.center_ey(center), r, value)
     circle(self.epsilon_rz, twodim.center_ez(center), r, value)
     return self