#NEWLINE# def rotate( self , angle , axis , origin = numpy . array ( [ 0.0 , 0.0 , 0.0 ] ) ) : #NEWLINE# #INDENT# for a in self . arg : #NEWLINE# #INDENT# a . rotate ( angle , axis , origin ) #NEWLINE# #UNINDENT# pts = numpy . array ( [ 1.0 , 0.0 , 0.0 ] ) #NEWLINE# ( pos , pts , faxis ) = rotate ( axis , angle , origin , self . pos , pts , self . axis ) #NEWLINE# self . set ( pos = pos , axis = faxis , trait_change_notify = False )