//构造函数用于给以上声明的两个列表初始化 public Construction_TIN(PointList points) { this.pointlist = points; this.triangles = new TriangleList(); }
private void button1_Click(object sender, EventArgs e) { points = new PointList(); triangles = null; this.panel.BackgroundImage = null; }