@staticmethod
def IntersectLine(Poly1, Poly2):
    """
        Intersects two lines.
        -------------
        Poly1 and Poly2  are in the form [m, q]
        where the line equation is :math:`y = m x + q`.

        Returns
        ------------
        x, y : scalars
            Point of intersection.
        """
    x0 = (Poly2[1] - Poly1[1]) / (Poly1[0] - Poly2[0])
    y0 = Poly1[0] * x0 + Poly1[1]
    return x0, y0
