Пример #1
0
        public static (double A, double B, double C, double D, double E, double F) QuinticBezierCoefficientsGeneral(double a, double b, double c, double d, double e, double f)
        {
            var polynomial = RecursiveBezierBernsteinBasisTests.BezierCoefficientsRecursive(a, b, c, d, e, f);

            return(polynomial[PolynomialTerm.a], polynomial[PolynomialTerm.b], polynomial[PolynomialTerm.c], polynomial[PolynomialTerm.d], polynomial[PolynomialTerm.e], polynomial[PolynomialTerm.f]);
        }
Пример #2
0
        public static (double A, double B, double C, double D, double E, double F, double G, double H) SepticBezierCoefficientsGeneral(double a, double b, double c, double d, double e, double f, double g, double h)
        {
            var polynomial = RecursiveBezierBernsteinBasisTests.BezierCoefficientsRecursive(a, b, c, d, e, f, g, h);

            return(polynomial[PolynomialTerm.a], polynomial[PolynomialTerm.b], polynomial[PolynomialTerm.c], polynomial[PolynomialTerm.d], polynomial[PolynomialTerm.e], polynomial[PolynomialTerm.f], polynomial[PolynomialTerm.g], polynomial[PolynomialTerm.h]);
        }
Пример #3
0
        public static (double A, double B, double C, double D, double E, double F, double G, double H, double I, double J, double K) DecicBezierCoefficientsGeneral0(double a, double b, double c, double d, double e, double f, double g, double h, double i, double j, double k)
        {
            var polynomial = RecursiveBezierBernsteinBasisTests.BezierCoefficientsRecursive(a, b, c, d, e, f, g, h, i, j, k);

            return(polynomial[PolynomialTerm.a], polynomial[PolynomialTerm.b], polynomial[PolynomialTerm.c], polynomial[PolynomialTerm.d], polynomial[PolynomialTerm.e], polynomial[PolynomialTerm.f], polynomial[PolynomialTerm.g], polynomial[PolynomialTerm.h], polynomial[PolynomialTerm.i], polynomial[PolynomialTerm.j], polynomial[PolynomialTerm.k]);
        }
Пример #4
0
        public static (double A, double B) LinearBezierCoefficientsGeneral(double a, double b)
        {
            var polynomial = RecursiveBezierBernsteinBasisTests.BezierCoefficientsRecursive(a, b);

            return(polynomial[PolynomialTerm.a], polynomial[PolynomialTerm.b]);
        }
        public static (double A, double B, double C) QuadraticBezierCoefficientsGeneral(double a, double b, double c)
        {
            var polynomial = RecursiveBezierBernsteinBasisTests.BezierCoefficientsRecursive(a, b, c);

            return(polynomial[PolynomialTerm.a], polynomial[PolynomialTerm.b], polynomial[PolynomialTerm.c]);
        }