{\r
\r
public static void drawGrating(ref Image img, int width, int height, double wavelength, double contrast, double orientation, double phase)\r
{\r
\r
public static void drawGrating(ref Image img, int width, int height, double wavelength, double contrast, double orientation, double phase)\r