Home | History | Annotate | Download | only in Splines

Lines Matching refs:knots

77     * \param knots The spline's knot vector.
81 Spline(const OtherVectorType& knots, const OtherArrayType& ctrls) : m_knots(knots), m_ctrls(ctrls) {}
89 m_knots(spline.knots()), m_ctrls(spline.ctrls()) {}
92 * \brief Returns the knots of the underlying spline.
94 const KnotVectorType& knots() const { return m_knots; }
196 static DenseIndex Span(typename SplineTraits<Spline>::Scalar u, DenseIndex degree, const typename SplineTraits<Spline>::KnotVectorType& knots);
208 * \param knots The underlying spline's knot vector.
210 static BasisVectorType BasisFunctions(Scalar u, DenseIndex degree, const KnotVectorType& knots);
215 * \param knots The underlying spline's knot vector.
218 const Scalar u, const DenseIndex order, const DenseIndex degree, const KnotVectorType& knots);
237 const typename SplineTraits< Spline<_Scalar, _Dim, _Degree> >::KnotVectorType& knots)
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);
242 return static_cast<DenseIndex>( std::distance(knots.data(), pos) - 1 );
250 const typename Spline<_Scalar, _Dim, _Degree>::KnotVectorType& knots)
255 const DenseIndex i = Spline::Span(u, degree, knots);
257 const KnotVectorType& U = knots;
293 return Spline::Span(u, degree(), knots());
365 return Spline::BasisFunctions(u, degree(), knots());
484 BasisFunctionDerivativesImpl(u, order, degree(), knots(), der);
494 BasisFunctionDerivativesImpl(u, order, degree(), knots(), der);
504 const typename Spline<_Scalar, _Dim, _Degree>::KnotVectorType& knots)
507 BasisFunctionDerivativesImpl(u, order, degree, knots, der);