## Encyclopedia > NURBS

Article Content

# B-spline

Redirected from NURBS

A B-Spline is a mathematical, parametric definition of a series of connected geometric curve segments.

A B-spline is similar to a Bézier curve but it is a complete piecewise polynomial (of any degree, although usually used as cubic) and so can consist of any number of curves. It also differs in that control points[?] are only local, a curve is defined by four control points and each point only influences four segments. So moving a control point does not have the global effect it would with a Bézier curve, it does not have to satisfy the constraint of maintaining continuity of segments.

A B-spline formulation for a single segment can be written as:

$Q_{i} (u) = \sum_{k=0}^3 P_{i-3+k} B_{i-3+k} (u)$

where $Q_{i}$ is the ith B-spline segment and P is the set of control points, segment i and k is the local control point index. The value of u is $0 \le u \le 1$ as a local parameter to define a single curve segment. A set of control points would be $P_i^w = ( w_i x_i, w_i y_i, w_i z_i, w_i)$ where the $w_i$ is weight, pulling the curve towards control point $P_i$ as it increases or moving the curve away as it decreases.

An entire set of segments, m-2 curves ($Q_3,Q_4,...,Q_m$) defined by m+1 control points ($P_0,P_1,...,P_m, m \ge 3$), as one B-spline in u would be defined as:

$Q (u) = \sum_{i=0}^m P_{i} B_{i} (u)$

where i is the control point number and u is a global parameter giving knot values[?].

There are two types of B-spline - uniform and non-uniform. A non-uniform B-spline (NURBS) is a curve where the intervals between successive control points is not, or not necessarily, equal (the knot vector[?] of interior knot spans are not equal). A common form is where intervals are successively reduced to zero, interpolating control points.

NURBS are used extensively in the CAD industry and more widely in computing for 3D geometry generation and modelling because of their accuracy, flexibility, commonality of mathematical form for both standard geometric shapes and free-form shapes, fast algorithms, invariance under affine and perspective transformations, and that they are generalizations of splines and both types of Bézier curve and surfaces.

This article (or an earlier version of it) contains material from FOLDOC, used with permission.

All Wikipedia text is available under the terms of the GNU Free Documentation License

Search Encyclopedia
 Search over one million articles, find something about almost anything!

Featured Article
 Jamesport, New York ...     Contents Jamesport, New York Jamesport is a town located in Suffolk County, New York. As of the 2000 census, the town had a total population of ...