//смещение private void button4_Click(object sender, EventArgs e) { double x = Double.Parse(textBox6.Text); double y = Double.Parse(textBox7.Text); double z = Double.Parse(textBox8.Text); pol.shift(x, y, z); ClearWithout(); pol.draw(); pictureBox1.Image = pictureBox1.Image; }
private void button4_Click(object sender, EventArgs e) { double x = Double.Parse(textBox6.Text); double y = Double.Parse(textBox7.Text); double z = Double.Parse(textBox8.Text); pol.shift(x, y, z); pol.Display(projection); ClearWithout(); foreach (var i in pol.edges) { g.DrawLine(col, i.Item1, i.Item2); } pictureBox1.Image = pictureBox1.Image; }