Ejemplo n.º 1
0
 /// <summary>
 /// Constructor for setting up the interval
 /// </summary>
 /// <param name="xInterval">parameter for X interval</param>
 /// <param name="xStep">parameter for number of X steps</param>
 /// <param name="yInterval">parameter for Y interval</param>
 /// <param name="yStep">parameter for number of Y steps</param>
 /// <param name="origo">parameter for Origo</param>
 public Interval(int xInterval, int xStep, int yInterval, int yStep, Point origo)
 {
     SetUpIntervals(xInterval, xStep, yInterval, yStep, origo);
     XValue.Add("0");
     YValue.Add("0");
     this.xMax = xInterval * xStep;
     this.yMax = yInterval * yStep;
 }