Esempio n. 1
0
 public bool Contains(RectI small)
 {
     return(R >= small.R && L <= small.L && T <= small.T && B >= small.B);
 }
Esempio n. 2
0
 public bool Continues(RectI other)
 {
     return((R == other.R && L == other.L && (B == other.T || T == other.B)) ||
            (B == other.B && T == other.T && (L == other.R || R == other.L)));
 }
Esempio n. 3
0
 public bool IntersectsWith(RectI other)
 {
     return(!(R < other.L || other.R < L || B < other.T || other.B < T));
 }