public Dictionary<ICurvePointList, DrawType> sampleCurvePoints() { NormalCurvePointList list = new NormalCurvePointList(); Dictionary<ICurvePointList, DrawType> result = new Dictionary<ICurvePointList, DrawType>(); CubicSplineInterpolationInterpolatedData data = new CubicSplineInterpolationInterpolatedData(curveParam); list.AddRange(sampleAPolynomialCurveWithDenserBorder(data.Curve, data.Curve.Curves.Count * 100)); list.Add(data.getLastPoint()); list.Label = "[CSI]"; list.PaneCurveType = PaneCurveType.realCurve; result.Add(list, DrawType.LineNoDot); return result; }
public Dictionary<ICurvePointList, DrawType> sampleCurvePoints() { NormalCurvePointList list = new NormalCurvePointList(); Dictionary<ICurvePointList, DrawType> result = new Dictionary<ICurvePointList, DrawType>(); BezierCurveInterpolatedData data = new BezierCurveInterpolatedData(curveParam); list.AddRange(sampleABezierCurve(data.Curve)); list.Add(data.getLastPoint()); list.Label = "[BZ]"; list.PaneCurveType = PaneCurveType.realCurve; result.Add(list, DrawType.LineNoDot); curveParam.PointList.Label = "[BZC]"; curveParam.PointList.PaneCurveType = PaneCurveType.connectingSupportingCurve; result.Add(curveParam.PointList, DrawType.LineNoDot); return result; }