|
|

Tension controls how sharply the curve bends at a control point. Tension values must be in the range [-1, 1]. If the tension value is 0, the spline is called a Catmull-Rom spline, see the CatmullRomSpline class.
Cardinal splines are cubic Hermite splines and therefore specify a cubic polynomial interpolation of the given control points.
Public Member Functions | |
| template<typename InputIteratorT> | |
| CardinalSpline (InputIteratorT itBegin, InputIteratorT itEnd) | |
| Constructs a new Kochanek-Bartels spline from the given control points. | |
|
||||||||||||
|
Creates a new cardinal spline curve with the given control points. The iterators must iterate over a collection of (at least two) CardinalControlPoint instances. |
|
Copyright © by Martin Ecker |