static void Main(string[] args) { // Test(); return; try { var tc = new TreatConstructConsole(); var mp = new MyPoints(); mp.GenDistances2(); Console.WriteLine(mp); mp.CheckPointMatch(tc); mp.GenPoints(); mp.GenDistances2(); Console.WriteLine(mp); mp.CheckPointMatch(tc); mp.GenPoints(); mp.GenDistances2(); Console.WriteLine(mp); mp.CheckPointMatch(tc); mp.GenPoints(); mp.CheckPointMatch(tc); //mp.GenDistances2(); } catch (Exception e) { Console.WriteLine(e); } }
public void StartAlgo() { firstPoint = true; var mp = new MyPoints(); mp.GenDistances2(); Console.WriteLine(mp); mp.CheckPointMatch(this); mp.GenPoints(); mp.GenDistances2(); Console.WriteLine(mp); mp.CheckPointMatch(this); mp.GenPoints(); mp.GenDistances2(); Console.WriteLine(mp); mp.CheckPointMatch(this); mp.GenPoints(); mp.CheckPointMatch(this); }