This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

BSplineSurface

BSplineSurface[array]
is a graphics primitive that represents a non-uniform rational B-spline surface defined by an array of control points.
  • The positions of control points can be specified either in ordinary coordinates as , or in scaled coordinates as Scaled.
  • The following options can be given:
SplineDegreeAutomaticdegree of polynomial basis
SplineKnotsAutomaticknot sequence in each dimension
SplineWeightsAutomaticcontrol point weights
SplineClosedFalsewhether to make the surface closed
  • By default, BSplineSurface uses bicubic splines, corresponding to degree .
  • The option SplineDegree->d specifies maximal degree d in each direction. SplineDegree specifies different maximal degrees in the two directions within the surface.
  • By default, knots are chosen to be uniform and to make the surface reach the control points at the edges of the array.
  • SplineKnots specifies sequences of knots to use for the rows and columns of the array of control points.
  • With an explicit setting for SplineKnots, the degree of the polynomial basis is determined from the number of knots specified and the number of control points.
  • SplineWeights are automatically chosen to be 1, corresponding to a polynomial B-spline surface.
  • You can specify surface material properties using the graphics directives Specularity and Opacity.
  • You can use FaceForm to specify different properties for front and back faces.
A B-spline surface for an array of control points:
Show the control points together with the B-spline surface:
A B-spline surface for an array of control points:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
Show the control points together with the B-spline surface:
In[3]:=
Click for copyable input
Out[3]=
Pipe section using a B-spline surface with weights:
New in 7