The "B" in B-spline refers to the fact that a segment x (t) may be written in terms of a basis matrix, MS, in a form similar to a Bézier curve. That is,

Where G is the geometry matrix [p0 p1 p2 p3] and u (t) is the column vector (1, t, t2 , t3). In a uniform B-spline, each segment uses the same basis matrix, but the geometry matrix changes. Construct the basis matrix MS for x(t).