class_docstr: Class representing a rectangle.
class_docstr_tok: ["Class","representing","a","rectangle","."]
docstr: Expands this rectangle to include itself and another completely while
  still being as small as possible.
  
  Example::
  
      >>> r1 = Rectangle(10, 10, 30, 30)
      >>> r2 = Rectangle(20, 20, 50, 50)
      >>> r3 = Rectangle(70, 70, 90, 90)
      >>> r1 |= r2
      >>> r1
      Rectangle(10.0, 10.0, 50.0, 50.0)
      >>> r1 |= r3
      >>> r1
      Rectangle(10.0, 10.0, 90.0, 90.0)
docstr_tok: ["Expands","this","rectangle","to","include","itself","and","another","completely","while","still","being","as","small","as","possible",".","Example",":",":",">",">",">","r1","=","Rectangle","(","10",",","10",",","30",",","30",")",">",">",">","r2","=","Rectangle","(","20",",","20",",","50",",","50",")",">",">",">","r3","=","Rectangle","(","70",",","70",",","90",",","90",")",">",">",">","r1","|=","r2",">",">",">","r1","Rectangle","(","10.0",",","10.0",",","50.0",",","50.0",")",">",">",">","r1","|=","r3",">",">",">","r1","Rectangle","(","10.0",",","10.0",",","90.0",",","90.0",")"]
code: def __ior__(self, other):
      """Expands this rectangle to include itself and another completely while
      still being as small as possible.
  
      Example::
  
          >>> r1 = Rectangle(10, 10, 30, 30)
          >>> r2 = Rectangle(20, 20, 50, 50)
          >>> r3 = Rectangle(70, 70, 90, 90)
          >>> r1 |= r2
          >>> r1
          Rectangle(10.0, 10.0, 50.0, 50.0)
          >>> r1 |= r3
          >>> r1
          Rectangle(10.0, 10.0, 90.0, 90.0)
      """
      self._left = min(self._left, other._left)
      self._top = min(self._top, other._top)
      self._right = max(self._right, other._right)
      self._bottom = max(self._bottom, other._bottom)
      return self
  
imports: from collections import defaultdict
  from math import atan2, cos, hypot, sin
  from typing import NamedTuple
  from igraph.utils import consecutive_pairs
label_desc: Use image node_id 29 for calling the Rectangle obj's underlying member method code with example usage: obj.__ior__(other) and returns: self