private void Cut_Click(object sender, EventArgs e) { TriMeshModify.ComputeSelectedEdgeFromColor(Mesh); double move = TriMeshUtil.ComputeEdgeAvgLength(Mesh) * 0.1; TriMeshEdgeCutFromBoundary cut = new TriMeshEdgeCutFromBoundary(Mesh); cut.Cut(move); TriMeshUtil.ClearMeshColor(Mesh); TriMeshUtil.ShowBoundary(Mesh); TriMeshUtil.FixIndex(Mesh); TriMeshUtil.SetUpNormalVertex(Mesh); OnChanged(EventArgs.Empty); }