public bool Overlaps(CartesianBounds that) { return(that.Bottom < this.Top && that.Top > this.Bottom && that.Left < this.Right && that.Right > this.Left); }
public bool Contains(CartesianBounds that) { return(Contains(that.Position) && Contains(new Vector(that.Right, that.Top))); }