parameters: (self, xf)
docstring: Draw the transform xf on the screen
docstring_summary: Draw the transform xf on the screen
docstring_tokens: Draw the transform xf on the screen
function: def DrawTransform(self, xf):
          """
          Draw the transform xf on the screen
          """
          p1 = xf.position
          p2 = self.to_screen(p1 + self.axisScale * xf.R.x_axis)
          p3 = self.to_screen(p1 + self.axisScale * xf.R.y_axis)
          p1 = self.to_screen(p1)
          cv2.line(self.surface, cvcoord(p1), cvcoord(p2), (0, 0, 255), 1)
          cv2.line(self.surface, cvcoord(p1), cvcoord(p3), (0, 255, 0), 1)
function_tokens: def DrawTransform ( self , xf ) : p1 = xf . position p2 = self . to_screen ( p1 + self . axisScale * xf . R . x_axis ) p3 = self . to_screen ( p1 + self . axisScale * xf . R . y_axis ) p1 = self . to_screen ( p1 ) cv2 . line ( self . surface , cvcoord ( p1 ) , cvcoord ( p2 ) , ( 0 , 0 , 255 ) , 1 ) cv2 . line ( self . surface , cvcoord ( p1 ) , cvcoord ( p3 ) , ( 0 , 255 , 0 ) , 1 )