• Home
  • Raw
  • Download

Lines Matching refs:degree

45   void KnotAveraging(const KnotVectorType& parameters, DenseIndex degree, KnotVectorType& knots)  in KnotAveraging()  argument
47 knots.resize(parameters.size()+degree+1); in KnotAveraging()
49 for (DenseIndex j=1; j<parameters.size()-degree; ++j) in KnotAveraging()
50 knots(j+degree) = parameters.segment(j,degree).mean(); in KnotAveraging()
52 knots.segment(0,degree+1) = KnotVectorType::Zero(degree+1); in KnotAveraging()
53 knots.segment(knots.size()-degree-1,degree+1) = KnotVectorType::Ones(degree+1); in KnotAveraging()
79 const unsigned int degree, in KnotAveragingWithDerivatives() argument
90 KnotAveraging(parameters, degree, knots); in KnotAveragingWithDerivatives()
110 endIndex = numParameters - degree; in KnotAveragingWithDerivatives()
115 endIndex = numParameters - degree - 1; in KnotAveragingWithDerivatives()
126 averageKnots[++newKnotIndex] = parameters.segment(i, degree).mean(); in KnotAveragingWithDerivatives()
171 DenseIndex numKnots = numParameters + numDerivatives + degree + 1; in KnotAveragingWithDerivatives()
174 knots.head(degree).fill(temporaryKnots[0]); in KnotAveragingWithDerivatives()
175 knots.tail(degree).fill(temporaryKnots.template tail<1>()[0]); in KnotAveragingWithDerivatives()
176 knots.segment(degree, temporaryKnots.size()) = temporaryKnots; in KnotAveragingWithDerivatives()
227 static SplineType Interpolate(const PointArrayType& pts, DenseIndex degree);
239 …static SplineType Interpolate(const PointArrayType& pts, DenseIndex degree, const KnotVectorType& …
262 const unsigned int degree);
284 const unsigned int degree,
290 …SplineType SplineFitting<SplineType>::Interpolate(const PointArrayType& pts, DenseIndex degree, co… in Interpolate() argument
298 KnotAveraging(knot_parameters, degree, knots); in Interpolate()
304 const DenseIndex span = SplineType::Span(knot_parameters[i], degree, knots); in Interpolate()
307 …A.row(i).segment(span-degree, degree+1) = SplineType::BasisFunctions(knot_parameters[i], degree, k… in Interpolate()
322 SplineType SplineFitting<SplineType>::Interpolate(const PointArrayType& pts, DenseIndex degree) in Interpolate() argument
326 return Interpolate(pts, degree, chord_lengths); in Interpolate()
335 const unsigned int degree, in InterpolateWithDerivatives() argument
347 KnotAveragingWithDerivatives(parameters, degree, derivativeIndices, knots); in InterpolateWithDerivatives()
363 Scalar y = (knots(degree + 1) - knots(0)) / degree; in InterpolateWithDerivatives()
378 Scalar y = (knots(knots.size() - 1) - knots(knots.size() - (degree + 2))) / degree; in InterpolateWithDerivatives()
386 const DenseIndex span = SplineType::Span(parameters[i], degree, knots); in InterpolateWithDerivatives()
390 A.block(row, span - degree, 2, degree + 1) in InterpolateWithDerivatives()
391 = SplineType::BasisFunctionDerivatives(parameters[i], 1, degree, knots); in InterpolateWithDerivatives()
398 A.row(row++).segment(span - degree, degree + 1) in InterpolateWithDerivatives()
399 = SplineType::BasisFunctions(parameters[i], degree, knots); in InterpolateWithDerivatives()
422 const unsigned int degree) in InterpolateWithDerivatives() argument
426 return InterpolateWithDerivatives(points, derivatives, derivativeIndices, degree, parameters); in InterpolateWithDerivatives()