void ModelEdge_Click() { MeshEdge e = Model.Edges[OpObject.Index]; if (IsSplitting) { MeshVertex v = Model.SplitEdgeAt(e, OpObject.Position); if (PreviousSplittedVertex != null) { Model.AddEdge(PreviousSplittedVertex, v, true); } PreviousSplittedVertex = v; Model.UpdateAll(); return; } e.Selected = true; e.V1.Selected = true; e.V2.Selected = true; Model.UpdateAll(); Console.WriteLine(e.V1.Position + "-->" + e.V2.Position); Console.WriteLine((e.F1 == null ? -1 : e.F1.Index) + ", " + (e.F2 == null ? -1 : e.F2.Index)); }