Exemple #1
0
        private void button1_Click(object sender, System.EventArgs e)
        {
            // Smooth the surface !	TeeSmoothGrid3D	class source in TeeSmoothGrid3D.cs
            TeeSmoothGrid3D.SmoothGrid3D(surface1);

            // Now re-calculate NumX and NumX to display at label1.Text
            surface1.FillGridIndex();

            // Display new grid size at label1
            label1.Text = "Grid Size: " + surface1.NumXValues.ToString() + " x " + surface1.NumZValues.ToString();
        }