Splines`
Splines`

SplineFunction

As of Version 7.0, some of the functionality of the Splines Package is now built into the Wolfram Language kernel. »

SplineFunction[type,domain,internal]

represents a spline function created by the SplineFit function parametrizing a curve with the parameter in the specified domain. When given a parameter value as an argument it returns the corresponding point on the curve.

Details and Options

  • To use SplineFunction, you first need to load the Splines Package using Needs["Splines`"].
  • The SplineFunction object generated with SplineFit[{pt1,pt2,},type] is parametrized such that a parameter value of 0 corresponds to pt1, 1 corresponds to pt2, etc.
  • Supported types are Cubic, Bezier and CompositeBezier.

Examples

Basic Examples  (1)

Fit a Bézier spline to a set of four points:

The endpoints of the SplineFunction correspond to the original points:

Wolfram Research (2008), SplineFunction, Wolfram Language function, https://reference.wolfram.com/language/Splines/ref/SplineFunction.html.

Text

Wolfram Research (2008), SplineFunction, Wolfram Language function, https://reference.wolfram.com/language/Splines/ref/SplineFunction.html.

CMS

Wolfram Language. 2008. "SplineFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Splines/ref/SplineFunction.html.

APA

Wolfram Language. (2008). SplineFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Splines/ref/SplineFunction.html

BibTeX

@misc{reference.wolfram_2024_splinefunction, author="Wolfram Research", title="{SplineFunction}", year="2008", howpublished="\url{https://reference.wolfram.com/language/Splines/ref/SplineFunction.html}", note=[Accessed: 23-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_splinefunction, organization={Wolfram Research}, title={SplineFunction}, year={2008}, url={https://reference.wolfram.com/language/Splines/ref/SplineFunction.html}, note=[Accessed: 23-November-2024 ]}