public static bool Intersects(ref Rectangle2D a, ref Rectangle2D b) { if (a.Right < b.Left || a.Left > b.Right || a.Top < b.Bottom || a.Bottom > b.Top) return false; return true; }
public bool Intersects(Rectangle2D other) { return Rectangle2D.Intersects(ref this, ref other); }