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

BezierFunction

BezierFunction[{pt1, pt2, ...}]
represents a Bézier function for a curve defined by the control points pti.
BezierFunction[array]
represents a Bézier function for a surface or high-dimensional manifold.
  • BezierFunction[...][u] gives the point on a Bézier curve corresponding to parameter u.
  • BezierFunction[...][u, v, ...] gives the point on a general Bézier manifold corresponding to the parameters u, v, ....
  • The embedding dimension for the curve represented by BezierFunction[{pt1, pt2, ...}] is given by the length of the lists pti.
  • BezierFunction[array] can handle arrays of any depth, representing manifolds of any dimension.
  • The dimension of the manifold represented by BezierFunction[array] is given by TensorRank[array]-1. The lengths of the lists that occur at the lowest level in array define the embedding dimension.
  • The parameters u, v, ... by default run from 0 to 1 over the domain of the curve or other manifold.
  • The following options can be given:
SplineDegreeAutomaticdegree of polynomials
Construct a Bézier curve using a list of control points:
Apply the function to find a point on the curve:
Plot the Bézier curve with the control points:
Single cubic Bézier surface patch:
Construct a Bézier curve using a list of control points:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
Apply the function to find a point on the curve:
In[3]:=
Click for copyable input
Out[3]=
Plot the Bézier curve with the control points:
In[4]:=
Click for copyable input
Out[4]=
 
Single cubic Bézier surface patch:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
New in 7