public static Bitmap GetPolyOnlyBitmap(EntraResult result) { EntraDrawer drawer = new EntraDrawer(result.ReachableSpace, result.Frog, result.FrogCompsInter); return(drawer.GetPolyOnlySolutionBitmap()); }
public static void DrawIntoFileTesting(List <List <IntPoint> > polys) { //if (false) { EntraDrawer d = new EntraDrawer(polys); { d.DrawSolutionIntoFile(StaticData.EntraImageInput); } } }
public static void DrawIntoFileGeva(List <List <IntPoint> > polys, bool withInputImage, int counter) { EntraDrawer d = new EntraDrawer(polys); if (withInputImage) { d.DrawSolutionIntoFile(StaticData.EntraImageInput, true, counter); } else { d.DrawSolutionIntoFile(null, true, counter); } }
public static void DrawIntoFile(List <List <IntPoint> > polys, bool withInputImage = true) { if (Tester.IsTestingEntra) { EntraDrawer d = new EntraDrawer(polys); if (withInputImage) { d.DrawSolutionIntoFile(StaticData.EntraImageInput); } else { d.DrawSolutionIntoFile(); } } }
public static void DrawIntoFileGeva(List <List <List <IntPoint> > > polys, bool withInputImage) { //var polys1 = polys[0]; foreach (List <List <IntPoint> > poly in polys) { EntraDrawer d = new EntraDrawer(poly); if (withInputImage) { d.DrawSolutionIntoFile(StaticData.EntraImageInput); } else { d.DrawSolutionIntoFile(); } } }