/// <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, B, A)); } else { return(SlurMath.Contains(t, A, B)); } }