用于样条插值的曲线参数化
更多...
#include <qwt_spline_parametrization.h>
◆ Type
Parametrization type
| 枚举值 |
|---|
| ParameterX | No parametrization: t[i] = x[i]
- 参见
- valueIncrementX()
|
| ParameterY | No parametrization: t[i] = y[i]
- 参见
- valueIncrementY()
|
| ParameterUniform | Uniform parametrization: t[i] = i;
A very fast parametrization, with good results, when the geometry of the control points is somehow "equidistant". F.e. when recording the position of a body, that is moving with constant speed every n seconds.
- 参见
- valueIncrementUniform()
|
| ParameterChordal | Parametrization using the chordal length between two control points
The chordal length is the most commonly used approximation for the curve length.
- 参见
- valueIncrementChordal()
|
| ParameterCentripetal | Centripetal parametrization
Based on the square root of the chordal length.
Its name stems from the physical observations regarding the centripetal force, of a body moving along the curve.
- 参见
- valueIncrementCentripetal()
|
| ParameterManhattan | Parametrization using the manhattan length between two control points
Approximating the curve length by the manhattan length is faster than the chordal length, but usually gives worse results.
- 参见
- valueIncrementManhattan()
|
◆ QwtSplineParametrization()
| QwtSplineParametrization::QwtSplineParametrization |
( |
int |
type | ) |
|
|
explicit |
◆ ~QwtSplineParametrization()
| QwtSplineParametrization::~QwtSplineParametrization |
( |
| ) |
|
|
virtual |
◆ type()
| int QwtSplineParametrization::type |
( |
| ) |
const |
◆ valueIncrement()
| double QwtSplineParametrization::valueIncrement |
( |
const QPointF & |
point1, |
|
|
const QPointF & |
point2 |
|
) |
| const |
|
virtual |
◆ valueIncrementCentripetal()
| double QwtSplineParametrization::valueIncrementCentripetal |
( |
const QPointF & |
point1, |
|
|
const QPointF & |
point2 |
|
) |
| |
|
inlinestatic |
计算两个点的 ParameterCentripetal 值增量
◆ valueIncrementChordal()
| double QwtSplineParametrization::valueIncrementChordal |
( |
const QPointF & |
point1, |
|
|
const QPointF & |
point2 |
|
) |
| |
|
inlinestatic |
计算两个点的 ParameterChordal 值增量
◆ valueIncrementManhattan()
| double QwtSplineParametrization::valueIncrementManhattan |
( |
const QPointF & |
point1, |
|
|
const QPointF & |
point2 |
|
) |
| |
|
inlinestatic |
计算两个点的 ParameterManhattan 值增量
◆ valueIncrementUniform()
| double QwtSplineParametrization::valueIncrementUniform |
( |
const QPointF & |
point1, |
|
|
const QPointF & |
point2 |
|
) |
| |
|
inlinestatic |
◆ valueIncrementX()
| double QwtSplineParametrization::valueIncrementX |
( |
const QPointF & |
point1, |
|
|
const QPointF & |
point2 |
|
) |
| |
|
inlinestatic |
◆ valueIncrementY()
| double QwtSplineParametrization::valueIncrementY |
( |
const QPointF & |
point1, |
|
|
const QPointF & |
point2 |
|
) |
| |
|
inlinestatic |
该类的文档由以下文件生成: