Class Scine::Utils::BSplines::InterpolationGenerator

class InterpolationGenerator : public Scine::Utils::BSplines::Generator

Generates a B-spline curve interpolating the data points. (see the NURBS book by Piegl 1997)

Public Functions

InterpolationGenerator(const Eigen::Ref<const Eigen::MatrixXd> &dataPoints, unsigned degree = 3, bool uniformKnotVector = false)

Parameters
  • dataPoints: number rows = number of points, number of cols = dimension