Пример #1
0
 public bool IsOverlapping(Range range)
 {
     return((IsInside(range.min)) || (IsInside(range.max)) ||
            (range.IsInside(min)) || (range.IsInside(max)));
 }
Пример #2
0
 public bool IsInside(Range range)
 {
     return((IsInside(range.min)) && (IsInside(range.max)));
 }