Home | History | Annotate | Download | only in Splines

Lines Matching refs:degree

31      *                degree for optimization purposes (would result in stack allocation
40 enum { Degree = _Degree /*!< The spline curve's degree. */ };
122 * spline degree.
162 * \brief Returns the spline degree.
164 DenseIndex degree() const;
175 static DenseIndex Span(typename SplineTraits<Spline>::Scalar u, DenseIndex degree, const typename SplineTraits<Spline>::KnotVectorType& knots);
186 * \param degree The degree of the underlying spline.
189 static BasisVectorType BasisFunctions(Scalar u, DenseIndex degree, const KnotVectorType& knots);
200 DenseIndex degree,
204 if (u <= knots(0)) return degree;
205 const Scalar* pos = std::upper_bound(knots.data()+degree-1, knots.data()+knots.size()-degree-1, u);
213 DenseIndex degree,
218 const DenseIndex p = degree;
219 const DenseIndex i = Spline::Span(u, degree, knots);
226 VectorBlock<BasisVectorType,Degree>(left,1,p) = u - VectorBlock<const KnotVectorType,Degree>(U,i+1-p,p).reverse();
227 VectorBlock<BasisVectorType,Degree>(right,1,p) = VectorBlock<const KnotVectorType,Degree>(U,i+1,p) - u;
246 DenseIndex Spline<_Scalar, _Dim, _Degree>::degree() const
257 return Spline::Span(u, degree(), knots());
266 const DenseIndex p = degree();
291 const DenseIndex p = spline.degree();
333 return Spline::BasisFunctions(u, degree(), knots());
350 const DenseIndex p = spline.degree();