public static bool IntersectsLeft(this Rectangle rect, Rectangle test) { var line = new Line(rect.CenterVector(), test.CenterVector()); return line.Intersects(test.LeftLine()); }