public bool Touches(RectI r) { return((r.ContainsX(MinX) || ContainsX(r.MinX)) && (r.ContainsY(MinY) || ContainsY(r.MinY))); }