Splines`
Splines`

Spline

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

Spline[{pt1,pt2,},type]

is a two-dimensional graphics primitive which represents a spline of type type through (or controlled by) points pt1, pt2, .

更多信息和选项

  • To use Spline, you first need to load the Splines Package using Needs["Splines`"].
  • Possible settings for type are:
  • Cubiccubic spline
    BezierBézier spline
    CompositeBeziercomposite 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:
  • SplinePoints25initial number of points sampled in default rendering of spline
    SplineDotsNonestyle to render interpolation or control points of curve
    MaxBend10.maximum angle between successive segments when using adaptive rendering
    SplineDivision20.maximum amount of subdivision to be used in attempting to generate a smooth curve

范例

打开所有单元关闭所有单元

基本范例  (1)

Bézier spline controlled by four points:

Cubic spline through four points:

Composite Bézier spline controlled by six points:

Cubic spline through six points:

Options  (3)

SplineDots  (1)

SplineDots shows the control points:

Big purple points for 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:

Wolfram Research (2007),Spline,Wolfram 语言函数,https://reference.wolfram.com/language/Splines/ref/Spline.html.

文本

Wolfram Research (2007),Spline,Wolfram 语言函数,https://reference.wolfram.com/language/Splines/ref/Spline.html.

CMS

Wolfram 语言. 2007. "Spline." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/Splines/ref/Spline.html.

APA

Wolfram 语言. (2007). Spline. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/Splines/ref/Spline.html 年

BibTeX

@misc{reference.wolfram_2024_spline, author="Wolfram Research", title="{Spline}", year="2007", howpublished="\url{https://reference.wolfram.com/language/Splines/ref/Spline.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_spline, organization={Wolfram Research}, title={Spline}, year={2007}, url={https://reference.wolfram.com/language/Splines/ref/Spline.html}, note=[Accessed: 21-November-2024 ]}