Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Describe Cardinal Splines? #15

Open
mgeier opened this issue Nov 23, 2022 · 1 comment
Open

Describe Cardinal Splines? #15

mgeier opened this issue Nov 23, 2022 · 1 comment

Comments

@mgeier
Copy link
Member

mgeier commented Nov 23, 2022

Cardinal splines are Catmull-Rom splines with an additional tension parameter.

This is very similar to Kochanek-Bartels splines, which also have a tension parameter (plus continuity and bias).

So it might not be worth to create a separate notebook for this spline type.

Confusingly, old publications (like e.g. Schoenberg's papers and De Boor's book) use the term "cardinal" to describe "uniform" splines.

@mgeier
Copy link
Member Author

mgeier commented Nov 26, 2022

Cardinal splines are described (without reference to Catmull-Rom splines) in:

Clark, James H. “Parametric Curves, Surfaces and Volumes in Computer Graphics and Computer-Aided Geometric Design.” Technical Report. Computer Systems Laboratory, Stanford University, November 1981. http://i.stanford.edu/pub/cstr/reports/csl/tr/81/221/CSL-TR-81-221.pdf.

According to this paper, the tangent vector is defined to be a constant multiple of the difference vector between the two adjacent points. The constant is called "a".

The basis matrix is then derived from this specification.

It looks like it can only be defined for the uniform case?

In the uniform case, a tension value of a = 0.5 produces a Catmull-Rom spline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant