Home | History | Annotate | Download | only in Splines

Lines Matching defs:degree

31      *                degree for optimization purposes (would result in stack allocation
40 enum { Degree = _Degree /*!< The spline curve's degree. */ };
62 * For Splines with dynamic degree, the resulting degree will be 0.
65 : m_knots(1, (Degree==Dynamic ? 2 : 2*Degree+2))
66 , m_ctrls(ControlPointVectorType::Zero(Dimension,(Degree==Dynamic ? 1 : Degree+1)))
70 enum { MinDegree = (Degree==Dynamic ? 0 : Degree) };
143 * spline degree.
183 * \brief Returns the spline degree.
185 DenseIndex degree() const;
196 static DenseIndex Span(typename SplineTraits<Spline>::Scalar u, DenseIndex degree, const typename SplineTraits<Spline>::KnotVectorType& knots);
207 * \param degree The degree of the underlying spline.
210 static BasisVectorType BasisFunctions(Scalar u, DenseIndex degree, const KnotVectorType& knots);
214 * \param degree The degree of the underlying spline
218 const Scalar u, const DenseIndex order, const DenseIndex degree, const KnotVectorType& knots);
236 DenseIndex degree,
240 if (u <= knots(0)) return degree;
241 const Scalar* pos = std::upper_bound(knots.data()+degree-1, knots.data()+knots.size()-degree-1, u);
249 DenseIndex degree,
254 const DenseIndex p = degree;
255 const DenseIndex i = Spline::Span(u, degree, knots);
262 VectorBlock<BasisVectorType,Degree>(left,1,p) = u - VectorBlock<const KnotVectorType,Degree>(U,i+1-p,p).reverse();
263 VectorBlock<BasisVectorType,Degree>(right,1,p) = VectorBlock<const KnotVectorType,Degree>(U,i+1,p) - u;
282 DenseIndex Spline<_Scalar, _Dim, _Degree>::degree() const
293 return Spline::Span(u, degree(), knots());
302 const DenseIndex p = degree();
323 const DenseIndex p = spline.degree();
365 return Spline::BasisFunctions(u, degree(), knots());
484 BasisFunctionDerivativesImpl(u, order, degree(), knots(), der);
494 BasisFunctionDerivativesImpl(u, order, degree(), knots(), der);
503 const DenseIndex degree,
507 BasisFunctionDerivativesImpl(u, order, degree, knots, der);