CompositeBezier

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


is a setting specifying the type of spline generated by Spline and SplineFit.

DetailsDetails

  • To use , you first need to load the Splines Package using .
  • A composite Bézier spline is made up of a series of third-order Bézier curves with continuity. It alternates interpolating points and control points.
  • If the number of points given is even, then the last two points are reversed so that the final point is interpolated and the next to last is a control point for the final segment; if odd, then the final vertex is doubled.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

In[1]:=
Click for copyable input

Composite Bézier splines go through some, but not all, of the points:

In[2]:=
Click for copyable input
Out[2]=
New to Mathematica? Find your learning path »
Have a question? Ask support »