• Home
  • Raw
  • Download

Lines Matching refs:knots

45   void KnotAveraging(const KnotVectorType& parameters, DenseIndex degree, KnotVectorType& knots)  in KnotAveraging()  argument
47 knots.resize(parameters.size()+degree+1); 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()
81 KnotVectorType& knots) in KnotAveragingWithDerivatives() argument
90 KnotAveraging(parameters, degree, knots); in KnotAveragingWithDerivatives()
172 knots.resize(numKnots); 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()
297 KnotVectorType knots; in Interpolate() local
298 KnotAveraging(knot_parameters, degree, knots); in Interpolate()
304 const DenseIndex span = SplineType::Span(knot_parameters[i], degree, knots); in Interpolate()
307 …(i).segment(span-degree, degree+1) = SplineType::BasisFunctions(knot_parameters[i], degree, knots); in Interpolate()
317 return SplineType(knots, ctrls); in Interpolate()
345 KnotVectorType knots; in InterpolateWithDerivatives() local
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()
391 = SplineType::BasisFunctionDerivatives(parameters[i], 1, degree, knots); in InterpolateWithDerivatives()
399 = SplineType::BasisFunctions(parameters[i], degree, knots); in InterpolateWithDerivatives()
411 SplineType spline(knots, controlPoints); in InterpolateWithDerivatives()