public Range Intersect(Range r) { return(Intersect(r.Lo, r.Hi)); }
public bool Equals(Range other, double eps) { return(other != null && (IsEmpty && other.IsEmpty || AlmostEquals(other.Lo, Lo, eps) && AlmostEquals(other.Hi, Hi, eps))); }
public bool IsSubsetOf(Range other) { return(Lo >= other.Lo && Hi <= other.Hi); }