Class Scine::Utils::BSplines::BSplineBasis

class BSplineBasis

Evaluate the B-Spline basis functions that are defined by the knot vector

Public Static Functions

static double evaluate(int i, int pk, int numberOfSplineSegments, const Eigen::VectorXd &knotVector, double u)

Evaluates the basis function with the Cox-DeBoor-Mansfield Recurrence Relation

  • i can range from 0 to n with n being the number of polynomial segements spline

  • the number of control points or number of basis functions = n+1

  • n is the number of polynomial segments

  • the knot vector can be of any degree k

  • u ranges form 0 to 1