|
NumType | computeFuncDiff1 (const std::size_t &_funcIdx) const |
| Computes 1st derivative of parametric function with index _funcIdx at parametric arc set by setEvalArc. More...
|
|
NumType | computeFuncDiff2 (const std::size_t &_funcIdx) const |
| Computes 2nd derivative of parametric function with index _funcIdx at parametric arc set by setEvalArc. More...
|
|
NumType | computeFuncInt1 (const std::size_t &_funcIdx) const |
| Computes integral of parametric function with index _funcIdx on interval [funcsArcBegin_, funcsArcEnd_]. More...
|
|
NumType | computeFuncInt2 (const std::size_t &_funcIdx) const |
| Computes double integral of parametric function with index _funcIdx on interval [funcsArcBegin_, funcsArcEnd_]. More...
|
|
NumType | computeFuncVal (const std::size_t &_funcIdx) const |
| Computes value of parametric function with index _funcIdx at parametric arc set by setEvalArc. More...
|
|
FuncCtrlPtType & | ctrlPt (const std::size_t &_funcIdx, const std::size_t &_funcCtrlPtIdx) |
| Access of a parametric function control point. More...
|
|
const FuncCtrlPtType & | ctrlPt (const std::size_t &_funcIdx, const std::size_t &_funcCtrlPtIdx) const |
| Const access of a parametric function control point. More...
|
|
NumType & | ctrlPtVal (const std::size_t &_funcIdx, const std::size_t &_funcCtrlPtIdx, const CtrlPtDim &_ctrlPtDim=CtrlPtDim::VAL) |
| Access of a parametric function control point dimension. More...
|
|
const NumType & | ctrlPtVal (const std::size_t &_funcIdx, const std::size_t &_funcCtrlPtIdx, const CtrlPtDim &_ctrlPtDim=CtrlPtDim::VAL) const |
| Const of a parametric function control point dimension. More...
|
|
std::size_t | funcCtrlPtSize (const std::size_t &_i) const |
| Number of control points for a parametric function. More...
|
|
NumType & | funcsArc (const std::size_t &_i, const std::size_t &_j) |
| Access to the arc parameter vector at index _i, control point _j. More...
|
|
const NumType & | funcsArc (const std::size_t &_i, const std::size_t &_j) const |
| Const access the arc parameter vector at index _i, control point _j. More...
|
|
NumType & | funcsArcBegin () |
| Access to the initial value of the arc parametrization. More...
|
|
const NumType & | funcsArcBegin () const |
| Const access to the initial value of the arc parametrization. More...
|
|
NumType & | funcsArcEnd () |
| Access to the final value of the arc parametrization. More...
|
|
const NumType & | funcsArcEnd () const |
| Const access to the finall value of the arc parametrization. More...
|
|
const NumType & | funcsArcEval () const |
| Const access to the active evaluation point arc parametrization. More...
|
|
std::size_t | funcsArcSize () const |
| Number of arc parametrizations. More...
|
|
std::size_t | funcsArcSize (const std::size_t &_i) const |
| Number of control points of parametrization _i. More...
|
|
std::size_t | funcsSize () const |
| Number of parametric functions. More...
|
|
template<typename TParamFucsStructVecArr > |
void | init (const TParamFucsStructVecArr &_paramFuncsStructure) |
| Initializes the control structure. More...
|
|
ParamFuncsBaseCRTP & | operator= (const ParamFuncsBaseCRTP &)=default |
|
ParamFuncsBaseCRTP & | operator= (ParamFuncsBaseCRTP &&)=default |
|
| ParamFuncsBaseCRTP ()=default |
|
| ParamFuncsBaseCRTP (const ParamFuncsBaseCRTP &)=default |
|
| ParamFuncsBaseCRTP (ParamFuncsBaseCRTP &&)=default |
|
void | precompute () |
| Precomputes cached data. More...
|
|
void | setEvalArc (const NumType &_arcEval, const eAG &_eAG=eAG::NONE) |
| Sets parametric function evaluation arc. More...
|
|
void | shiftStartCtrlPt (const NumType &_dt) |
|
| ~ParamFuncsBaseCRTP ()=default |
|
template<typename TDerived>
class tuw::ParamFuncsBaseCRTP< TDerived >
Definition at line 107 of file param_func.hpp.
template<typename TDerived>
template<typename TParamFucsStructVecArr >
Initializes the control structure.
- Parameters
-
_paramFuncsStructure | parametric functions structure |
Note: _paramFuncsStructure[].ctrlPtsArcRefIdx has to be consistent (first function has to have value 0. Next functions can only reference previous referenced indexes or increse maximum reference index by 1). Some examples:
_paramFuncsStructure[].ctrlPtsArcRefIdx = [0,0,0] ok! means one arc parameter set for all 3 functions;
_paramFuncsStructure[].ctrlPtsArcRefIdx = [0,1,0] ok! means one arc parameter set for function 0 and 2 and another arc parameter set for function 1;
_paramFuncsStructure[].ctrlPtsArcRefIdx = [0,1,2] ok! means separate arc parameter set for each function;
_paramFuncsStructure[].ctrlPtsArcRefIdx = [0,2,1] inconsistent! indexes not consistent step-increasing;
Definition at line 157 of file param_func.hpp.