Piecewise cubics.
More...
#include <cubicset.h>
|
| CubicSet () |
| Creates an empty piecewise cubic.
|
|
| CubicSet (const Cubic &, int) |
| Split a cubic into several cubics. More...
|
|
| CubicSet (const QVector< Cubic > &) |
| Creates the piecewise cubic. More...
|
|
| CubicSet (const QVector< double > &, const double &=0.0, const double &=0.0) |
| Creates the piecewise cubic. More...
|
|
| ~CubicSet () |
| Empty.
|
|
int | Size () const |
| Return the number of elements of the piecewise cubic curve.
|
|
Cubic | operator() (int) const |
| Access to the i-th cubic. More...
|
|
|
QVector< Cubic > | cu |
| Set of cubics.
|
|
◆ CubicSet() [1/3]
CubicSet::CubicSet |
( |
const Cubic & |
c, |
|
|
int |
n |
|
) |
| |
|
explicit |
Split a cubic into several cubics.
- Parameters
-
◆ CubicSet() [2/3]
CubicSet::CubicSet |
( |
const QVector< Cubic > & |
control | ) |
|
|
explicit |
Creates the piecewise cubic.
- Parameters
-
◆ CubicSet() [3/3]
CubicSet::CubicSet |
( |
const QVector< double > & |
control, |
|
|
const double & |
ta = 0.0 , |
|
|
const double & |
tb = 0.0 |
|
) |
| |
|
explicit |
Creates the piecewise cubic.
- Parameters
-
control | Set of values. |
ta,tb | End derivatives. |
◆ operator()()
Cubic CubicSet::operator() |
( |
int |
i | ) |
const |
|
inline |
Access to the i-th cubic.
- Parameters
-