Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Splines Package >

SplineFunction

As of Version 7.0, some of the functionality of the Splines Package is now built into the Mathematica kernel. RightSkeleton
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.
  • 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.
Fit a Bézier spline to a set of four points:
The endpoints of the SplineFunction correspond to the original points:
Needs["Splines`"]
Fit a Bézier spline to a set of four points:
In[2]:=
Click for copyable input
Out[2]=
The endpoints of the SplineFunction correspond to the original points:
In[3]:=
Click for copyable input
Out[3]=
O B S O L E T E
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team