Lines Matching defs:parameters
38 * \param[in] parameters The input parameters. During interpolation one for each data point.
45 void KnotAveraging(const KnotVectorType& parameters, DenseIndex degree, KnotVectorType& knots)
47 knots.resize(parameters.size()+degree+1);
49 for (DenseIndex j=1; j<parameters.size()-degree; ++j)
50 knots(j+degree) = parameters.segment(j,degree).mean();
62 * \param[in] parameters The parameters at which the interpolation B-Spline
63 * will intersect the given interpolation points. The parameters
67 * \param[in] derivativeIndices The indices corresponding to parameters at
78 void KnotAveragingWithDerivatives(const ParameterVectorType& parameters,
85 DenseIndex numParameters = parameters.size();
90 KnotAveraging(parameters, degree, knots);
119 // and 2 for the first and last parameters.
122 averageKnots[0] = parameters[0];
126 averageKnots[++newKnotIndex] = parameters.segment(i, degree).mean();
127 averageKnots[++newKnotIndex] = parameters[numParameters - 1];
140 Scalar parameter = parameters[j];
180 * \brief Computes chord length parameters which are required for spline interpolation.
234 * \param knot_parameters The knot parameters for the interpolation.
272 * \param parameters The parameters corresponding to the interpolation points.
285 const ParameterVectorType& parameters);
324 KnotVectorType chord_lengths; // knot parameters
336 const ParameterVectorType& parameters)
347 KnotAveragingWithDerivatives(parameters, degree, derivativeIndices, knots);
384 for (DenseIndex i = 1; i < parameters.size() - 1; ++i)
386 const DenseIndex span = SplineType::Span(parameters[i], degree, knots);
391 = SplineType::BasisFunctionDerivatives(parameters[i], 1, degree, knots);
399 = SplineType::BasisFunctions(parameters[i], degree, knots);
424 ParameterVectorType parameters;
425 ChordLengths(points, parameters);
426 return InterpolateWithDerivatives(points, derivatives, derivativeIndices, degree, parameters);