Esempio n. 1
0
 public BezierCurve(ICurveParam curveParam)
 {
     if (canDrawCurve(curveParam))
     {
         canDraw = true;
         this.curveParam = (BezierCurveParam)curveParam;
     }
 }
Esempio n. 2
0
 public void DrawBezierCurve(string curveName)
 {
     BaseDataPointList pointList = this.basePoints;
     BezierCurveParam curveParam = new BezierCurveParam(pointList.Points);
     BezierCurve curve = new BezierCurve(curveParam);
     DrawLines(curveName, curve.sampleCurvePoints());
 }
 public BezierCurveInterpolatedData(BezierCurveParam curveParam)
 {
     pointList = curveParam.PointList;
     bezierCurve = new BezierParametricCurveElement(pointList);
 }