Cardinal spline



         


A cardinal spline is a cubic Hermite spline whose tangents are defined by the points and a tension parameter.

Given n+1 points

p0, ..., pn,

to be interpolated with n cubic Hermite curve segments, for each curve we have a starting point pi and an ending point pi+1 with starting tangent mi and ending tangent mi+1 with the tangents defined by

<math> \mathbf{m}_i = (1-t)(\mathbf{p}_{i+1}-\mathbf{p}_{i-1}) <math>

where t is a constant that modifies the length of the tangent and the first and last tangent are given.






  View Live Article   This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License