|
| template<typename FLT> |
| FLT | ratio (const FLT num, const FLT denom) |
| template<typename INT, typename FLT, typename ITERATOR> |
| FLT | onebasisfun (FLT const u, INT const p, ITERATOR const Ubegin, ITERATOR const Uend) |
| | function to compute the value of a BSpline basis function at a given point.
|
| template<typename INT, typename FLT, typename ITERATOR> |
| FLT | onebasisfunder (FLT u, INT p, ITERATOR Ubegin, ITERATOR Uend) |
| | function to compute the derivative of a BSpline basis function.
|
| template<typename INT, typename ITERATOR, typename FLT = double> |
| std::vector< FLT > | open_knot_vector (ITERATOR const bb, ITERATOR const be, INT const p, INT const r) |
| | create an uniform open knot vector given the list
|
| template<typename INT, typename FLT, typename ITERATOR> |
| FLT | onebasisfun2d (FLT const u, FLT const v, INT const pu, INT const pv, ITERATOR const Ubegin, ITERATOR const Uend, ITERATOR const Vbegin, ITERATOR const Vend) |
template<typename INT, typename ITERATOR, typename FLT = double>
| std::vector< FLT > bspline::open_knot_vector |
( |
ITERATOR const | bb, |
|
|
ITERATOR const | be, |
|
|
INT const | p, |
|
|
INT const | r ) |
create an uniform open knot vector given the list
of breaks, a (scalar) degree p and a (scalar) regularity r.
- Parameters
-
| bb | begin of list of breaks. |
| be | end of list of breaks. |
| p | basis function degree. |
| r | basis functions regularity. |
- Returns
- k knoct vector.