/// <summary> /// /// </summary> /// <param name="t"></param> /// <returns></returns> public bool Contains(double t) { if (IsDecreasing) { return(SlurMath.Contains(t, B, A)); } else { return(SlurMath.Contains(t, A, B)); } }
/// <summary> /// /// </summary> /// <param name="t"></param> /// <returns></returns> public bool Contains(double t) { if (IsDecreasing) { return(SlurMath.Contains(t, T1, T0)); } else { return(SlurMath.Contains(t, T0, T1)); } }