G+Smo
24.08.0
Geometry + Simulation Modules
|
A univariate root solver for B-spline curves.
Public Member Functions | |
bool | firstRoot (gsBSpline< T > const &bsp, int const &coord=0, T const &tr=0, T const &tol=1e-7, unsigned const &N=100) |
Return true if the first root exist, the value of the root is in this->value() | |
gsBSplineSolver () | |
Default empty constructor. | |
bool | nextRoot () |
Next root (requires that first root has been called before) | |
T | value () |
The value of the current root. | |
~gsBSplineSolver () | |
Destructor. | |
Private Member Functions | |
void | initSolver (gsBSpline< T > const &bsp, int const &coord, T const &tr, T const &tol, unsigned const &N) |
Initialize the solver with B-spline data. | |
int | insertKnot (int mu) |
|
private |
insert knot x in interval mu by Boehms algorithm Note: t,c must have size at least n+1, n+d+2 respectively require that x>=t[mu]