Beispiel #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     TriMesh mesh = GlobalData.Instance.TriMesh;
     this.tetgen = new TetGen();
     this.tetgen.Exited += tetgen_Exited;
     this.tetgen.OutputDataReceived += tetgen_OutputDataReceived;
     this.tetgen.RunAsync(mesh, this.textBox1.Text);
     this.button1.Enabled = false;
 }
Beispiel #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            TriMesh mesh = GlobalData.Instance.TriMesh;

            this.tetgen                     = new TetGen();
            this.tetgen.Exited             += tetgen_Exited;
            this.tetgen.OutputDataReceived += tetgen_OutputDataReceived;
            this.tetgen.RunAsync(mesh, this.textBox1.Text);
            this.button1.Enabled = false;
        }