Esempio n. 1
0
        public Completion(List <AnswerLine> xLines, List <AnswerLine> yLines, Bitmap inputImage, ExamSpecifics exam, double avRadius) : base(xLines, yLines, inputImage, exam, avRadius)
        {
            scores.Add(null);
            scores.Add(null);
            scores.Add(null);
            scores.Add(null);
            scores.Add(null);


            scoreRow.Add(null);
            scoreRow.Add(null);
            scoreRow.Add(null);
            scoreRow.Add(null);
            scoreRow.Add(null);


            colorArray.Add(null);
            colorArray.Add(null);
            colorArray.Add(null);
            colorArray.Add(null);
            colorArray.Add(null);


            centerCircles.Add(null);
            centerCircles.Add(null);
            centerCircles.Add(null);
            centerCircles.Add(null);
            centerCircles.Add(null);


            this.exam = exam;
        }
 public ExamSection(List <AnswerLine> xLines, List <AnswerLine> yLines, Bitmap inputImage, ExamSpecifics test, double avRadius)
 {
     this.xLines     = xLines.OrderBy(o => o.grabAverage()).ToList();
     this.yLines     = yLines.OrderBy(o => o.grabAverage()).ToList();
     this.inputImage = inputImage;
     this.test       = test;
     this.avRadius   = avRadius;
 }