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