Spline
Spline[{pt1,pt2,…},type]
is a two-dimensional graphics primitive which represents a spline of type type through (or controlled by) points pt1, pt2, ….
Details and Options
- To use Spline, you first need to load the Splines Package using Needs["Splines`"].
- Possible settings for type are:
-
Cubic cubic spline Bezier Bézier spline CompositeBezier composite Bézier spline - Spline may be used along with other graphics primitives in a Graphics expression.
- Spline[{pt1,pt2,…},type] produces a spline expression of the form Spline[{pt1,pt2,…},type,control] where control is information which describes the spline completely.
- The information in control depends on the kind of spline used.
- The following options can be given:
-
SplinePoints 25 initial number of points sampled in default rendering of spline SplineDots None style to render interpolation or control points of curve MaxBend 10. maximum angle between successive segments when using adaptive rendering SplineDivision 20. maximum amount of subdivision to be used in attempting to generate a smooth curve
Examples
open allclose allBasic Examples (1)
Options (3)
SplineDots (1)
SplineDots shows the control points:
SplinePoints (1)
SplinePoints determines how often to sample the spline for rendering:
SplineDivision (1)
SplineDivision determines how much to refine the spline for rendering:
Text
Wolfram Research (2007), Spline, Wolfram Language function, https://reference.wolfram.com/language/Splines/ref/Spline.html.
CMS
Wolfram Language. 2007. "Spline." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Splines/ref/Spline.html.
APA
Wolfram Language. (2007). Spline. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Splines/ref/Spline.html