public LagarangePolynomialCurveInterpolatedData(PolynomialCurveParam curveParam)
 {
     this.curveType = curveParam.PolynomialCurveType;
     this.lastPoint = curveParam.PointList.RightBorderPoint;
     this.count = curveParam.Count;
     this.curve = GenerateCurve(curveParam);
 }
 public PolynomialCurveParam(List<DataPoint> points, PolynomialCurveType curveType)
 {
     pointList = new OrderedCurvePointList(points);
     this.curveType = curveType;
 }