3.4.0
details Namespace Reference

Functions

TIGL_EXPORT double calcReparamfctInv (std::vector< double > const &paramsOld, std::vector< double > const &paramsNew, double u, double tolerance)
 Helper function for reparameterization to calculate inverse of reparameterization function (paramsOld -> paramsNew) More...
 

Function Documentation

◆ calcReparamfctInv()

TIGL_EXPORT double details::calcReparamfctInv ( std::vector< double > const &  paramsOld,
std::vector< double > const &  paramsNew,
double  u,
double  tolerance 
)

Helper function for reparameterization to calculate inverse of reparameterization function (paramsOld -> paramsNew)

calcReparamfctInv

Parameters
paramsOldParameters of original B-Spline curve (domain of inverse reparameterization function)
paramsNewNew parameters of B-Spline curve (range of inverse reparameterization function)
uFunction argument, has to be inside range of paramsOld
tolerance
Returns
the wanted inverse of u (new parameter corresponding to old parameter)