Solution

ID: past-exam-of-the-computer-science-course-of-the-university-of-oxford/2015/geometric-modelling/2/d/solution

Choose a quadratic uniform B-spline segment on a unit spline knot interval. This choice is useful because adjacent pieces can later share de Boor points at simple, equally spaced spline knots. Its three active basis pieces on local are
They follow from the Cox-de Boor recurrence for degree two and consecutive integer spline knots. If the three de Boor points are , then the equivalent Bézier curve handles are
One can verify this conversion simply by substituting these expressions into the Bernstein basis formula and collecting each . Solving gives
The desired matrix representation is therefore
The left row is again the monomial row, the middle matrix contains the monomial coefficients of , and the right matrix lists the de Boor points. Unlike the Bézier curve basis matrix, the constant row averages two handles. A clamped B-spline with repeated end spline knots could instead reuse directly; the simple uniform convention above specifies which representation is being used and supplies the shared handles required for the extension.

New to topics? Read the docs here!