Ejemplo n.º 1
0
 static void TestSpanFill(BitMap2d bmp, Int16Double seed)
 {
     {
         SpanFill2d_T ff2 = new SpanFill2d_T();
         ff2.ExcuteSpanFill_Stack(bmp, seed);
         ff2.report.PrintInfo();
     }
     {
         SpanFill2d_T ff2 = new SpanFill2d_T();
         ff2.ExcuteSpanFill_Queue(bmp, seed);
         ff2.report.PrintInfo();
         //ff2.report.OutPutMap(ff2.flagsMap, "result.bmp");
     }
 }
Ejemplo n.º 2
0
 static void TestXY()
 {
     BitMap2d bmp = GetSampleTest6();
     {
         SpanYFill2d_T ff = new SpanYFill2d_T();
         ff.ExcuteSpanFill_S(bmp, seed_1);
         ff.report.PrintInfo();
     }
     {
         SpanFill2d_T ff = new SpanFill2d_T();
         ff.ExcuteSpanFill_Stack(bmp, seed_1);
         ff.report.PrintInfo();
     }
 }