Extend rectangle to include rectangle r.
(self, r)
| 17299 | return rect.irect |
| 17300 | |
| 17301 | def include_rect(self, r): |
| 17302 | """Extend rectangle to include rectangle r.""" |
| 17303 | rect = self.rect.include_rect(r) |
| 17304 | return rect.irect |
| 17305 | |
| 17306 | def intersect(self, r): |
| 17307 | """Restrict rectangle to intersection with rectangle r.""" |