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