code: def reset(self, index=None):
          '''
          Reset the points for the specified index position.  If no index is
          specified, reset points for all point handlers.
          '''
          points_handler_count = len(self.registration_view.points)
          if index is None:
              indexes = range(points_handler_count)
          else:
              indexes = [index]
  
          indexes = [i for i in indexes if i < points_handler_count]
  
          for i in indexes:
              self.registration_view.points[i].reset()
          if indexes:
              self.registration_view.update_transform(f reset(self, index=None):
          '''
          Reset the points for the specified index position.  If no index is
          specified, reset points for all point handlers.
          '''
          points_handler_count = len(self.registration_view.points)
          if index is None:
              indexes = range(points_handler_count)
          else:
              indexes = [index]
  
          indexes = [i for i in indexes if i < points_handler_count]
  
          for i in indexes:
              self.registration_view.points[i].reset()
          if indexes:
              self.registration_view.update_transform()
docs: Reset the points for the specified index position.  If no index is
          specified, reset points for all point handlers.