Ejemplo n.º 1
0
        // Declare a function that takes a variable number of arguments
        public static double CurrentO_comp(double currentDirection, double currentMagnitude, double beachOrientation)
        {
            WaterCurrentComponents waterCmp = new WaterCurrentComponents(currentMagnitude, currentDirection, beachOrientation);
            double dblRetVal = waterCmp.dblVcomp;

            return(dblRetVal);
        }
Ejemplo n.º 2
0
 // Declare a function that takes a variable number of arguments
 public static double CurrentO_comp(double currentDirection, double currentMagnitude, double beachOrientation)
 {
     WaterCurrentComponents waterCmp = new WaterCurrentComponents(currentMagnitude, currentDirection, beachOrientation);
     double dblRetVal = waterCmp.dblVcomp;
     return dblRetVal;
 }