コード例 #1
0
 private void BtnClosingCommandHandler_Executed(object sender, ExecutedRoutedEventArgs e)
 {
     _openingClosingValue++;
     tbOpeningClosing.Text = $"{_openingClosingValue}";
     _voronoiGraph         = Fortune.ClosingVG(_voronoiGraphCopy, _voronoiGraph, ref _vVNodes);
     if (_voronoiGraph != null)
     {
         _edges = _voronoiGraph.Edges.MapEdgeHashSetToEdgeList(ActualHeight, false, _scaled).ToList();;
         this.MyDotViewer.LoadPlain(_vVNodes, _edges, _fileName, _boundingBox, _frame, (_frame != null ? 1 : 0.3));
         _tips.Clear();
         _tips = _dataList.GetOneKeyValues();
         Title = $"Pattern Analyser - Closing ({_openingClosingValue}) - Delaunay Triangulation ({_fileName})";
     }
 }