Lines Matching refs:degree
41 void KnotAveraging(const KnotVectorType& parameters, DenseIndex degree, KnotVectorType& knots) in KnotAveraging() argument
43 knots.resize(parameters.size()+degree+1); in KnotAveraging()
45 for (DenseIndex j=1; j<parameters.size()-degree; ++j) in KnotAveraging()
46 knots(j+degree) = parameters.segment(j,degree).mean(); in KnotAveraging()
48 knots.segment(0,degree+1) = KnotVectorType::Zero(degree+1); in KnotAveraging()
49 knots.segment(knots.size()-degree-1,degree+1) = KnotVectorType::Ones(degree+1); in KnotAveraging()
99 static SplineType Interpolate(const PointArrayType& pts, DenseIndex degree);
111 …static SplineType Interpolate(const PointArrayType& pts, DenseIndex degree, const KnotVectorType& …
116 …SplineType SplineFitting<SplineType>::Interpolate(const PointArrayType& pts, DenseIndex degree, co… in Interpolate() argument
124 KnotAveraging(knot_parameters, degree, knots); in Interpolate()
130 const DenseIndex span = SplineType::Span(knot_parameters[i], degree, knots); in Interpolate()
133 …A.row(i).segment(span-degree, degree+1) = SplineType::BasisFunctions(knot_parameters[i], degree, k… in Interpolate()
148 SplineType SplineFitting<SplineType>::Interpolate(const PointArrayType& pts, DenseIndex degree) in Interpolate() argument
152 return Interpolate(pts, degree, chord_lengths); in Interpolate()