Apply an incremental change to our global direction, expressed in local coordinates. For example, this makes it easy to roll an optic around its local z axis or turn it off center around its local y axis, even after it has already been set in its global frame Definition at line 625 of file general_optics.py. 00625 : 00626 """Apply an incremental change to our global direction, expressed in local coordinates. For example, this makes it easy to 00627 roll an optic around its local z axis or turn it off center around its local y axis, even after it has already been set in its global frame 00628 """ 00629 self.update_coordinates(self.center, self.center, self.globalize_transform(matrix_to_global)) 00630 def update_coordinates(self, parent_center=None, reference_coordinate=None, matrix_to_global=None):
|