Exemplo n.º 1
0
 /// <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));
     }
 }
Exemplo n.º 2
0
 /// <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));
     }
 }