Class BezierCurve


  • public final class BezierCurve
    extends java.lang.Object
    small tool class to calculate Bezier Curve control points see: https://en.wikipedia.org/wiki/B%C3%A9zier_curve
    Author:
    rstein
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void calcCurveControlPoints​(double[] xData, double[] yData, double[] xControlPoint1, double[] yControlPoint1, double[] xControlPoint2, double[] yControlPoint2, int length)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • calcCurveControlPoints

        public static void calcCurveControlPoints​(double[] xData,
                                                  double[] yData,
                                                  double[] xControlPoint1,
                                                  double[] yControlPoint1,
                                                  double[] xControlPoint2,
                                                  double[] yControlPoint2,
                                                  int length)