Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Data Manipulation > Numerical Data > Curve Fitting & Approximate Functions > Splines >
Mathematica > Data Manipulation > Statistics > Curve Fitting & Approximate Functions > Splines >
Mathematica > Mathematics and Algorithms > Statistics > Curve Fitting & Approximate Functions > Splines >

SplineWeights

SplineWeights
is an option for B-spline functions and graphics primitives that specifies weights of control points.
  • With SplineWeights->array, each element of array gives the weight for the corresponding control point in the array of control points specified.
Here all weights are equal:
This uses a larger weight for the third control point:
Here all weights are equal:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
This uses a larger weight for the third control point:
In[3]:=
Click for copyable input
Out[3]=
Perfect circle using B-spline curve with weights:
Pipe section using B-spline surface with weights:
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team