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