private void faceNormalToolStripMenuItem_Click(object sender, EventArgs e) { if (currentGeometryObject == null) { MessageBox.Show("Please load a mesh"); return; } MarkedPoints.Clear(); MarkedLines.Clear(); form_Id = new Form_Id(currentGeometryObject.Triangles.Count, Form_IdType.FACE_NORMAL, this); form_Id.Text = "面Id"; form_Id.Show(); }
private void pointNeighborToolStripMenuItem_Click(object sender, EventArgs e) { if (currentGeometryObject == null) { MessageBox.Show("Please load a mesh"); return; } MarkedPoints.Clear(); MarkedLines.Clear(); form_Id = new Form_Id(currentGeometryObject.Points.Count, Form_IdType.POINT_NEIGHBOR, this); form_Id.Text = "点Id"; form_Id.Show(); }