A cubic polynomial without constant term.
More...
#include <qwt_spline_polynomial.h>
|
| | QwtSplinePolynomial (double c3=0.0, double c2=0.0, double c1=0.0) |
| | Constructor.
|
| |
| bool | operator== (const QwtSplinePolynomial &) const |
| | Compare two polynomials for equality.
|
| |
| bool | operator!= (const QwtSplinePolynomial &) const |
| | Compare two polynomials for inequality.
|
| |
| double | valueAt (double x) const |
| | Calculate the value of a polynomial for a given x.
|
| |
| double | slopeAt (double x) const |
| | Calculate the value of the first derivate of a polynomial for a given x.
|
| |
| double | curvatureAt (double x) const |
| | Calculate the value of the second derivate of a polynomial for a given x.
|
| |
|
| static QwtSplinePolynomial | fromSlopes (const QPointF &p1, double m1, const QPointF &p2, double m2) |
| | Find the coefficients for the polynomial including 2 points with specific values for the 1st derivates at these points.
|
| |
| static QwtSplinePolynomial | fromSlopes (double x, double y, double m1, double m2) |
| | Find the coefficients for the polynomial from the offset between 2 points and specific values for the 1st derivates at these points.
|
| |
| static QwtSplinePolynomial | fromCurvatures (const QPointF &p1, double cv1, const QPointF &p2, double cv2) |
| | Find the coefficients for the polynomial including 2 points with specific values for the 2nd derivates at these points.
|
| |
| static QwtSplinePolynomial | fromCurvatures (double dx, double dy, double cv1, double cv2) |
| | Find the coefficients for the polynomial from the offset between 2 points and specific values for the 2nd derivates at these points.
|
| |
|
|
double | c3 |
| | coefficient of the cubic summand
|
| |
|
double | c2 |
| | coefficient of the quadratic summand
|
| |
|
double | c1 |
| | coefficient of the linear summand
|
| |
A cubic polynomial without constant term.
◆ QwtSplinePolynomial()
| QwtSplinePolynomial::QwtSplinePolynomial |
( |
double |
a3 = 0.0, |
|
|
double |
a2 = 0.0, |
|
|
double |
a1 = 0.0 |
|
) |
| |
|
inline |
◆ curvatureAt()
| double QwtSplinePolynomial::curvatureAt |
( |
double |
x | ) |
const |
|
inline |
Calculate the value of the second derivate of a polynomial for a given x.
◆ fromCurvatures() [1/2]
| QwtSplinePolynomial QwtSplinePolynomial::fromCurvatures |
( |
const QPointF & |
p1, |
|
|
double |
cv1, |
|
|
const QPointF & |
p2, |
|
|
double |
cv2 |
|
) |
| |
|
inlinestatic |
Find the coefficients for the polynomial including 2 points with specific values for the 2nd derivates at these points.
◆ fromCurvatures() [2/2]
| QwtSplinePolynomial QwtSplinePolynomial::fromCurvatures |
( |
double |
dx, |
|
|
double |
dy, |
|
|
double |
cv1, |
|
|
double |
cv2 |
|
) |
| |
|
inlinestatic |
Find the coefficients for the polynomial from the offset between 2 points and specific values for the 2nd derivates at these points.
◆ fromSlopes() [1/2]
| QwtSplinePolynomial QwtSplinePolynomial::fromSlopes |
( |
const QPointF & |
p1, |
|
|
double |
m1, |
|
|
const QPointF & |
p2, |
|
|
double |
m2 |
|
) |
| |
|
inlinestatic |
Find the coefficients for the polynomial including 2 points with specific values for the 1st derivates at these points.
◆ fromSlopes() [2/2]
| QwtSplinePolynomial QwtSplinePolynomial::fromSlopes |
( |
double |
dx, |
|
|
double |
dy, |
|
|
double |
m1, |
|
|
double |
m2 |
|
) |
| |
|
inlinestatic |
Find the coefficients for the polynomial from the offset between 2 points and specific values for the 1st derivates at these points.
◆ operator!=()
Compare two polynomials for inequality.
◆ operator==()
Compare two polynomials for equality.
◆ slopeAt()
| double QwtSplinePolynomial::slopeAt |
( |
double |
x | ) |
const |
|
inline |
Calculate the value of the first derivate of a polynomial for a given x.
◆ valueAt()
| double QwtSplinePolynomial::valueAt |
( |
double |
x | ) |
const |
|
inline |
Calculate the value of a polynomial for a given x.
The documentation for this class was generated from the following file: