In mathematics, a Catmull-Rom spline is a cardinal spline with a tension of 0.5.
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
.
with the first and last tangent given.