예제 #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));
 }
예제 #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));
 }
예제 #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));
 }