Exemplo n.º 1
0
        private void BtnFindShortest_Click(object sender, RoutedEventArgs e)
        {
            overlaps.CalcDistances();
            overlaps.Shortest(out int x, out int y, out double dist);

            tbShortestDist.Text = $"Overlap closest to home is x={x} y={y} distance={dist}.";
        }