Beispiel #1
0
 public bool IsBetween(LimitBase b) =>
 Lower.IsBetween(b.Lower, b.Upper) && Upper.IsBetween(b.Lower, b.Upper);
Beispiel #2
0
 public bool PartiallyOverlaps(LimitBase b) =>
 Lower.IsBetween(b.Lower, b.Upper) || Upper.IsBetween(b.Lower, b.Upper);