Jump to content

File:Parametic Cubic Spline.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (SVG file, nominally 780 × 532 pixels, file size: 10 KB)

Summary

Description
English: This curve is a cubic parametric polynomial spline composed of three segments and may be called a degree three, or, alternatively, an order four spline curve. The position of each point on the curve stems from one in a set of three polynomial parametric functions fi(u). The four terms of each polynomial consist of coefficients of geometric points scaled (or weighted) by basis functions expressed in terms of the parameter u. The geometric points constitute an ordered set and form the control mesh around the curve. The polynomials essentially sample each of four consecutive points from the mesh by weighting factors, these computed by the basis functions for particular values of u. The sum of these weighted positions plot a point on the curve for the corresponding values of u. Each point on the curve is a particular barycentric combination of a set of four consecutive points from the mesh, where the term 'barycentric combination' infers that the weights produced by the basis functions add up to one (partition unity), a necessary condition for coordinate-independent calculations. In a general setting of arbitrary weights, the weighted sums of geometric points that have just been described would also incorporate the distances between each point and the origin of the coordinate system and the shape of the curve would change as the mesh of points moves. With weights that partition unity, the distance of points from the origin can be factored away and the shape of the curve would depend only on the relative positions of the points comprising the mesh. The term 'control point' can be applied to the elements of the mesh because moving a control point changes the positional information that is being blended into the curve, thereby changing its shape.

For splines, knot sequences determine which of the polynomial parametric functions plot the curve. Knot sequences are ordered pairs of parametric values and an associated multiplicity that signal a change in the control points used as geometric coefficients. Consider a four control point wide 'selection box'; its position along a linear arrangement of control points depends on the highest value knot that is still less than or equal to the value of parameter u. The control point that is to be utilized as the first coefficient in the parametric polynomial is selected by the sum of multiplicities of all knots less than or equal to u, minus the order of the curve. One can imagine the selection box shifting over one or more control points as u traverses its parametric range. In this example, there are single multiplicity knots at the parametric values of 1/3 and 2/3. The first four control points fully dictate the shape of the leftmost blue segment of the curve; they prevail for parametric values less than 1/3. For parametric values equal to or greater than 1/3, the middle four control points plot the curve, shown here as an orange segment. For the third segment of the curve, plotted with parametric values of 2/3 or greater, the rightmost four control points shape the curve. In this example, multiplicity four knots resided at either end of the curve and ensures that the curve is defined over the entire parametric range of u and that the curve interpolates its end points. This is not a general case; intervals can be partitioned by single multiplicity knots over the entire parametric range. There will necessarily be intervals on either end of the parametric range where the curve is not defined. The index positioning the selection box is either too far to the left or right so that there are an insufficient number of control points available to blend into the curve; the curve is undefined for those intervals. There is a connection between knot multiplicity and curve continuity. Roughly, higher multiplicity knots induce a greater change in the number of control points used when plotting from one segment to the next, so a follow on segment is 'less like' its predecessor for higher multiplicity knots. For cubic curves, a multiplicity two knot implies continuity only up to the first derivative; the second derivative will jump in value from one segment to the next. For multiplicity three knots, only positional continuity is obtained; the curve may exhibit a sharp corner because there can be a jump in the first derivative of the curve.

In this diagram, the control point indices happen to be in blossom format because there is an association between control points and knot sub-sequences. It is beyond the scope of this brief caption to detail this association; suffice to say that, among other matters, it is a particular way to label control points that happen to demarcate parametric regions where the control point has its greatest weight or "influence." Readers wishing to know more about the association between control points and knot sub-sequences should consult Chapter 6, "Blossoming" of Ron Goldman's Pyramid Algorithms 2003, Morgan Kaufman Publishers. ISBN 1-55860-354-9
Date
Source Own work
Author Garry R. Osgood


 
This W3C-unspecified vector image was created with Inkscape .

Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
You may select the license of your choice.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

2 July 2008

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current14:37, 12 October 2017Thumbnail for version as of 14:37, 12 October 2017780 × 532 (10 KB)NicoguaroRemove background and change unnecessary paths to objects.
18:19, 4 July 2008Thumbnail for version as of 18:19, 4 July 2008780 × 532 (131 KB)Garry R. Osgood{{Information |Description= |Source= |Date= |Author= |Permission= |other_versions= }} Category:Splines
23:13, 2 July 2008Thumbnail for version as of 23:13, 2 July 2008780 × 532 (130 KB)Garry R. Osgood{{Information |Description={{en|1=This curve is a cubic parametic polynomial spline comprised of three segments. That is, the [''x'', ''y''] coordinates of each point on the curve stem from a pair of functions ''f<sub>x</sub>(u)

The following 2 pages use this file:

Global file usage

The following other wikis use this file:

Metadata