Beispiel #1
0
 public bool Equals(SinEquation other)
 {
     return(
         Mathx.IsEqual(this.dx, other.dx) &&
         Mathx.IsEqual(this.sx, other.sx) &&
         Mathx.IsEqual(this.dy, other.dy) &&
         Mathx.IsEqual(this.sy, other.sy)
         );
 }
Beispiel #2
0
 public static float Evaluate(float x, SinEquation f)
 {
     return(Evaluate(x, f.dx, f.sx, f.dy, f.sy));
 }