|
| static double | valueIncrementX (const QPointF &, const QPointF &) |
| | Calculate the ParameterX value increment for 2 points
|
| |
| static double | valueIncrementY (const QPointF &, const QPointF &) |
| | Calculate the ParameterY value increment for 2 points
|
| |
| static double | valueIncrementUniform (const QPointF &, const QPointF &) |
| | Calculate the ParameterUniform value increment
|
| |
| static double | valueIncrementChordal (const QPointF &, const QPointF &) |
| | Calculate the ParameterChordal value increment for 2 points
|
| |
| static double | valueIncrementCentripetal (const QPointF &, const QPointF &) |
| | Calculate the ParameterCentripetal value increment for 2 points
|
| |
| static double | valueIncrementManhattan (const QPointF &, const QPointF &) |
| | Calculate the ParameterManhattan value increment for 2 points
|
| |
Curve parametrization used for a spline interpolation
Parametrization is the process of finding a parameter value for each curve point - usually related to some physical quantity ( distance, time ... ).
Often accumulating the curve length is the intended way of parametrization, but as the interpolated curve is not known in advance an approximation needs to be used.
The values are calculated by cumulating increments, that are provided by QwtSplineParametrization. As the curve parameters need to be montonically increasing, each increment need to be positive.
- t[0] = 0;
- t[i] = t[i-1] + valueIncrement( point[i-1], p[i] );
QwtSplineParametrization provides the most common used type of parametrizations and offers an interface to inject custom implementations.
- 注解
- The most relevant types of parametrization are trying to provide an approximation of the curve length.
- 参见
- QwtSpline::setParametrization()