Beispiel #1
0
 public static new double ComputeY(X x, int d, int e, int f)
 {
     if (x == X.R)
     {
         return(2 * d + ((double)d * e / 100));
     }
     return(BaseMapping.ComputeY(x, d, e, f));
 }
Beispiel #2
0
 public static new double ComputeY(X x, int d, int e, int f)
 {
     if (x == X.S)
     {
         return(f + d + ((double)d * e / 100)); // Also F + BaseMapping.ComputeY(x, d, e, f)
     }
     return(BaseMapping.ComputeY(x, d, e, f));
 }
Beispiel #3
0
 public static new X ComputeX(bool a, bool b, bool c)
 {
     if (a && b && !c)
     {
         return(X.T);
     }
     if (a && !b && c)
     {
         return(X.S);
     }
     return(BaseMapping.ComputeX(a, b, c));
 }