parameters: (self)
return_statement: return lower_left, upper_right
docstring: :return: A list for polygon0
docstring_summary: :return: A list for polygon0
docstring_tokens: : return : A list for polygon0
function: def get_roi(self):
          """
          :return: A list for polygon0
          """
          assert self._roiStart is not None
          assert self._roiEnd is not None
  
          # rio start is upper left, roi end is lower right
          lower_left_x = min(self._roiStart[0], self._roiEnd[0])
          lower_left_y = min(self._roiStart[1], self._roiEnd[1])
          lower_left = lower_left_x, lower_left_y
  
          # ROI upper right
          upper_right_x = max(self._roiStart[0], self._roiEnd[0])
          upper_right_y = max(self._roiStart[1], self._roiEnd[1])
          upper_right = upper_right_x, upper_right_y
  
          return lower_left, upper_right
function_tokens: def get_roi ( self ) : assert self . _roiStart is not None assert self . _roiEnd is not None # rio start is upper left, roi end is lower right lower_left_x = min ( self . _roiStart [ 0 ] , self . _roiEnd [ 0 ] ) lower_left_y = min ( self . _roiStart [ 1 ] , self . _roiEnd [ 1 ] ) lower_left = lower_left_x , lower_left_y # ROI upper right upper_right_x = max ( self . _roiStart [ 0 ] , self . _roiEnd [ 0 ] ) upper_right_y = max ( self . _roiStart [ 1 ] , self . _roiEnd [ 1 ] ) upper_right = upper_right_x , upper_right_y return lower_left , upper_right