예제 #1
0
        // Declare a function that takes a variable number of arguments
        public static double WindO_comp(double windDirection, double windMagnitude, double beachOrientation)
        {
            WindComponents wndCmp    = new WindComponents(windMagnitude, windDirection, beachOrientation);
            double         dblRetVal = wndCmp.dblVcomp;

            return(dblRetVal);
        }
예제 #2
0
 // Declare a function that takes a variable number of arguments
 public static double WindO_comp(double windDirection, double windMagnitude, double beachOrientation)
 {
     WindComponents wndCmp = new WindComponents(windMagnitude, windDirection, beachOrientation);
     double dblRetVal = wndCmp.dblVcomp;
     return dblRetVal;
 }