Reimplemented in spherical_mirror, and composite_optic. Definition at line 553 of file general_optics.py. 00553 : 00554 "transform(beam, backwards) set up local coordinates, calls local_transform on the beam, and resets it to global coordinates. Returns self for chaining." 00555 self.beam=beam 00556 self.backwards=backwards #in case anyone needs to know (e.g. dielectric interfaces) 00557 beam.localize(self) 00558 self.check_hit_optic() 00559 self.local_transform() 00560 beam.globalize(self) 00561 del self.beam, self.backwards #get it out of our dictionary so it is an error if not localized 00562 return self 00563 def local_transform(self):
|