public static double[] GetValues(IPeriodicRange <double> range, int count) { if (range is LongitudeDegreeRange) { return(GetValues((LongitudeDegreeRange)range, count)); } throw new NotImplementedException(); }
public IPeriodicRange <double> Intersection(IPeriodicRange <double> other) { LongitudeDegreeRange result; if (other != null && TryIntersection(new LongitudeDegreeRange(other.Start, other.End), out result)) { return(result); } return(null); }
public static double[] GetValues(IPeriodicRange<double> range, int count) { if (range is LongitudeDegreeRange) return GetValues((LongitudeDegreeRange)range, count); throw new NotImplementedException(); }
[Pure] public bool Within(IPeriodicRange <double> r) { return(DefaultPeriodicOperations.Contains(r.Start, r.End, Start, End)); }
[Pure] public bool Intersects(IPeriodicRange <double> r) { return(DefaultPeriodicOperations.Intersects(Start, End, r.Start, r.End)); }