def includePoint(self, p):
        """Extend rectangle to include point p."""
        if not len(p) == 2:
            raise ValueError("bad sequ. length")
        self.x0, self.y0, self.x1, self.y1 = TOOLS._include_point_in_rect(self, p)
        return self
def includePoint ( self , p ) : if not len ( p ) == 2 : raise ValueError ( "bad sequ. length" ) self . x0 , self . y0 , self . x1 , self . y1 = TOOLS . _include_point_in_rect ( self , p ) return self
Extend rectangle to include point p.