34 BSpline(
const std::vector<double> & parametersAtControlPoint,
const std::vector<double> & valuesAtControlPoint);
37 double getValueFromParameter(
const double & param)
const;
38 void setParameterAndValueAtControlPoint(
const std::vector<double> & parametersAtControlPoint,
const std::vector<double> & valuesAtControlPoint);
42 void checkIfParametersIncreaseOrDecrease();
43 std::size_t getSplineIndexFromParameter(
const double & param)
const;
45 bool areParametersIncreasing;
48 std::vector<double> a;
49 std::vector<double> b;
50 std::vector<double> c;
51 std::vector<double> d;
52 std::vector<double> parameter;