Algorithm Search⌘K

Techniqueadvanced

Bezier extraction

Also called Bezier extraction operator.

Write the B-splines or NURBS on each element as N = C^e B, a small matrix times the Bernstein polynomials, so a standard finite element code can run isogeometric analysis.

Bezier extraction writes the B-splines of degree pp that are nonzero on one element as linear combinations of the p+1p + 1 Bernstein polynomials of that element. For the element ee it gives a (p+1)×(p+1)(p + 1) \times (p + 1) matrix CeC^e, the element extraction operator, with Ne(u)=CeB(s)N^e(u) = C^e B(s), where NeN^e is the vector of the local B-splines and B(s)B(s) the vector of Bernstein polynomials in the local parameter s∈[0,1]s \in [0, 1]. The Bernstein polynomials are the same on every element, so a finite element code can treat them as the shape functions of one reference element. The matrices CeC^e carry all the information about the knots, and the usual element loop, assembly with a connectivity array and Gauss quadrature stay as they are. Borden, Scott, Evans and Hughes introduced this form for NURBS in 2011, and Scott and coauthors applied it to T-splines in the same year.

The notation is the one of the B-spline page: a clamped knot vector u1≤⋯≤umu_1 \le \cdots \le u_m (here 1-based, as in the paper), degree pp, n=m−p−1n = m - p - 1 functions N1,…,NnN_1, \ldots, N_n, and elements the nonempty spans [uk,uk+1)[u_k, u_{k+1}). On the element with span kk only Nk−p,…,NkN_{k-p}, \ldots, N_k are nonzero, and they are the rows of NeN^e in this order. The local parameter is s=(u−uk)/(uk+1−uk)s = (u - u_k)/(u_{k+1} - u_k). Borden and coauthors use the parent element [−1,1][-1, 1]. The matrix CeC^e is the same for both choices, since only the parameter of BB changes.

In plain words

A spline is made of polynomial pieces, and each piece of each basis function is a polynomial on one element. A finite element code likes to use the same few polynomials on every element, the shape functions of a standard element. Bezier extraction finds, for each element, a small table of numbers that says how much of each standard polynomial each spline function contains there. The code keeps one table per element. It evaluates the standard polynomials once, multiplies by the table, and gets the spline functions. Everything else in the code, the loop over elements, the integration and the assembly, does not change. The tables come from cutting the spline into pieces at its knots, which is an exact operation.

When it applies

  • You want to run isogeometric analysis inside an existing finite element code, with an element loop, element matrices and assembly by a connectivity array.
  • The basis is a B-spline or NURBS basis, a tensor product of them, or a T-spline (with a different way to compute CeC^e, see Variations). The basis must be piecewise polynomial on the elements, or a ratio of such functions.
  • You evaluate the basis at many points per element, so the cost of the Bernstein values (shared by all elements of the same degree) and one small matrix product is lower than the Cox-de Boor recursion at each point.
  • It is also the input format of Bezier based tools: element by element export of a spline model, Bezier projection and some refinement codes.

The template

The operators come from knot insertion. Insert each interior knot until it has multiplicity pp. Then each element has its own p+1p + 1 control points, the Bezier points of that piece. The loop below is the one-pass algorithm of Borden and coauthors. It does the insertions for one element at a time, on the matrix instead of on control points, and copies the overlap with the next element into the next operator. Here α\alpha is a list of pp numbers, and "column kk" is a column of CeC^e.

  1. BEZIER-EXTRACT(u_1..u_m, p) ▷ clamped knots, interior multiplicities ≤ p
  2. 1a ← p + 1; b ← a + 1; e ← 1; C^1 ← I
  3. 2while b < m:
  4. 3C^{e+1} ← I; i ← b
  5. 4while b < m and u_{b+1} = u_b: b ← b + 1
  6. 5mult ← b − i + 1 ▷ multiplicity of the knot u_b
  7. 6if mult < p:
  8. 7for j = p down to mult + 1: α_{j−mult} ← (u_b − u_a)/(u_{a+j} − u_a)
  9. 8r ← p − mult ▷ number of insertions of u_b
  10. 9for j = 1 to r:
  11. 10s ← mult + j
  12. 11for k = p + 1 down to s + 1: column k ← α_{k−s} · column k + (1 − α_{k−s}) · column k − 1
  13. 12if b < m: rows r−j+1 .. r+1 of column r−j+1 of C^{e+1} ← rows p−j+1 .. p+1 of column p+1 of C^e
  14. 13e ← e + 1
  15. 14if b < m: a ← b; b ← b + 1
  16. 15return C^1, ..., C^{e−1}

Why Ne=CeBN^e = C^e B. Let u^\hat u be the knot vector with every interior knot of multiplicity pp, and let N^1,…,N^n^\hat N_1, \ldots, \hat N_{\hat n} be its B-splines. Knot insertion gives a matrix AA of size n^×n\hat n \times n with the property: for every set of control points PP, the control points on u^\hat u of the same curve are P^=AP\hat P = A P. So ∑iNi(u)Pi=∑kN^k(u)(AP)k=∑i(∑kAkiN^k(u))Pi\sum_i N_i(u) P_i = \sum_k \hat N_k(u) (A P)_k = \sum_i \big(\sum_k A_{ki} \hat N_k(u)\big) P_i for all PP. Take PP to be the unit vectors: Ni=∑kAkiN^kN_i = \sum_k A_{ki} \hat N_k, or N=ATN^N = A^T \hat N. On u^\hat u each element has its own block of p+1p + 1 functions N^k\hat N_k, and on the element they are the Bernstein polynomials in ss, because a B-spline whose knots are only the two ends of one element, each repeated, is a Bernstein polynomial. All other N^k\hat N_k are zero on the element. Restrict N=ATN^N = A^T \hat N to the element: Ne=CeBN^e = C^e B, where CeC^e is the block of ATA^T with the rows of the p+1p + 1 functions that are nonzero on ee and the columns of the Bezier functions of ee. The algorithm computes these blocks. Line L11 is Boehm's formula for the new control points, applied to the columns, because the columns of CeC^e are the coefficients of the current control points in terms of the original ones. Line L12 copies the new points that also belong to the next element.

Properties. Each column of CeC^e sums to 1, because ∑aNa=1\sum_a N_a = 1 and ∑jBj=1\sum_j B_j = 1 on the element (partition of unity), and the Bernstein polynomials are linearly independent. The entries are nonnegative, because Boehm's coefficients are convex combinations. CeC^e is invertible: both NeN^e and BB are bases of the polynomials of degree pp on the element (the p+1p + 1 local B-splines are linearly independent there by the Curry-Schoenberg theorem on one span). The Bezier control points of the element are (Ce)TPe(C^e)^T P^e, where PeP^e are the local control points, since C(u)=(Pe)TNe=(Pe)TCeBC(u) = (P^e)^T N^e = (P^e)^T C^e B.

NURBS. With weights wew^e for the local functions, the NURBS basis on the element is Re(s)=1W(s)diag⁡(we) CeB(s)R^e(s) = \frac{1}{W(s)} \operatorname{diag}(w^e)\, C^e B(s), where W(s)=(we)TCeB(s)W(s) = (w^e)^T C^e B(s) is the weight function in Bernstein form. So the same CeC^e serves both the B-splines and the NURBS.

Tensor products. On a tensor product patch the element operator is the Kronecker product of the one-dimensional operators of the two (or three) directions, in the order that matches the numbering of the local functions.

Classic examples

A cubic with simple knots. Take p=3p = 3 and u=(0,0,0,0,1,2,3,4,4,4,4)u = (0, 0, 0, 0, 1, 2, 3, 4, 4, 4, 4), so 7 functions and 4 elements. The algorithm gives

C1=(1000011214001271200016),C2=(140007122313161613232300016),C^1 = \begin{pmatrix} 1 & 0 & 0 & 0 \\ 0 & 1 & \tfrac12 & \tfrac14 \\ 0 & 0 & \tfrac12 & \tfrac{7}{12} \\ 0 & 0 & 0 & \tfrac16 \end{pmatrix}, \quad C^2 = \begin{pmatrix} \tfrac14 & 0 & 0 & 0 \\ \tfrac{7}{12} & \tfrac23 & \tfrac13 & \tfrac16 \\ \tfrac16 & \tfrac13 & \tfrac23 & \tfrac23 \\ 0 & 0 & 0 & \tfrac16 \end{pmatrix},

and C3C^3, C4C^4 are C2C^2, C1C^1 with the rows and the columns in reverse order. Here B0,…,B3B_0, \ldots, B_3 are the cubic Bernstein polynomials. Row 2 of C1C^1 says N2=B1+12B2+14B3N_2 = B_1 + \tfrac12 B_2 + \tfrac14 B_3 on [0,1][0, 1]. At u=s=1/2u = s = 1/2, B(1/2)=(18,38,38,18)B(1/2) = (\tfrac18, \tfrac38, \tfrac38, \tfrac18) and N2(1/2)=38+316+132=1932N_2(1/2) = \tfrac38 + \tfrac{3}{16} + \tfrac{1}{32} = \tfrac{19}{32}, the value the Cox-de Boor recursion gives. The first column of CeC^e holds the values of the local functions at the left end of the element, since only B0B_0 is nonzero at s=0s = 0, and the last column holds the values at the right end. So the last column (0,16,23,16)(0, \tfrac16, \tfrac23, \tfrac16) of C2C^2 is N2(2),…,N5(2)N_2(2), \ldots, N_5(2). In a longer uniform knot vector every interior element has the operator with first column (16,23,16,0)(\tfrac16, \tfrac23, \tfrac16, 0) and the same other columns as C2C^2.

A quadratic. For p=2p = 2 and u=(0,0,0,1,2,3,3,3)u = (0, 0, 0, 1, 2, 3, 3, 3):

C1=(10001120012),C2=(1200121120012),C3=(12001210001).C^1 = \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & \tfrac12 \\ 0 & 0 & \tfrac12 \end{pmatrix}, \quad C^2 = \begin{pmatrix} \tfrac12 & 0 & 0 \\ \tfrac12 & 1 & \tfrac12 \\ 0 & 0 & \tfrac12 \end{pmatrix}, \quad C^3 = \begin{pmatrix} \tfrac12 & 0 & 0 \\ \tfrac12 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix}.

With the control points P=(0,0),(1,2),(3,2),(4,0),(5,1)P = (0, 0), (1, 2), (3, 2), (4, 0), (5, 1), the Bezier points of element 2 are (C2)T(P2,P3,P4)=(2,2),(3,2),(72,1)(C^2)^T (P_2, P_3, P_4) = (2, 2), (3, 2), (\tfrac72, 1).

Element routine. At a quadrature point sqs_q of element ee the code does:

  1. take B(sq)B(s_q) and B′(sq)B'(s_q) from a table built once for degree pp;
  2. form Ne=CeBN^e = C^e B and dNeds=CeB′\frac{dN^e}{ds} = C^e B', then the NURBS values with the weights;
  3. map with the geometry, x=(Pe)TRex = (P^e)^T R^e, and build the element matrix as for any finite element;
  4. assemble with the connectivity array (IEN), the list of the global numbers k−p,…,kk - p, \ldots, k of the local functions.

Variations

  • T-splines and other local refinement. Scott, Borden, Verhoosel, Sederberg and Hughes (2011) extract T-splines: each blending function has its own local knot vectors, and the operator of an element is found by knot insertion into each function separately. The element operators are then rectangular in general, since the number of functions on an element is not fixed. The same idea is used for hierarchical and THB-splines and for LR B-splines.
  • Global form. All the blocks together are ATA^T, the transpose of the knot refinement matrix to the Bezier knot vector. It can also be computed with the Oslo algorithm.
  • Inverse operators. (Ce)−1(C^e)^{-1} maps Bernstein coefficients back to B-spline coefficients on one element. Bezier projection uses it to project a function element by element and then averages the results.
  • Lagrange extraction. Instead of Bernstein polynomials, use the Lagrange polynomials of the element, so that an existing Lagrange element can be reused. The matrix is then CeC^e times the change of basis from Bernstein to Lagrange.

Pitfalls

  • Zero length elements. Repeated knots make spans of zero length. They are not elements, and the algorithm skips them in L4. A code that numbers elements by knot index gets empty elements and wrong connectivity.
  • Discontinuous knots. As written, the algorithm assumes interior multiplicity at most pp, so the curve is C0C^0 at least. A knot of multiplicity p+1p + 1 breaks the overlap in L12 and needs its own handling.
  • Parent domain. CeC^e is the same on [0,1][0, 1] and [−1,1][-1, 1], but the derivative dB/dsdB/ds gets a factor 22 on [−1,1][-1, 1], and the Jacobian of the map from the parent element to the element is (uk+1−uk)/2(u_{k+1} - u_k)/2 instead of uk+1−uku_{k+1} - u_k. Mixing the two conventions gives wrong element matrices.
  • The weights are not in CeC^e. For NURBS the weights enter in a separate step. The rational basis is not a linear combination of Bernstein polynomials with constant coefficients, so a code that uses CeBC^e B as the shape functions of a NURBS model computes with the wrong basis.
  • Storage. For a uniform knot vector the interior elements have the same CeC^e. A code that stores one matrix per element can share them, which saves memory for large tensor product models.

Code

Each implementation follows the pseudocode above. A comment @line links a line of code to a line of the pseudocode. Point at a line of the pseudocode to see the matching code. The build runs the native tests of each language.

bezier_extraction.pyI0RawGitHub
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/bezier-extraction/. The authors are listed in prov/5HN7GF.jsonl.

"""Bezier extraction of a clamped B-spline basis, after Borden, Scott, Evans and Hughes.

extract(U, p) returns one (p+1) x (p+1) matrix C^e per element. Row a of C^e
gives the local B-spline N_{k-p+a} (k the span of the element) as a
combination of the p + 1 Bernstein polynomials of the element:
N^e(u) = C^e B(s), s = (u - u_left) / (u_right - u_left).
The loop follows Algorithm 1 of the paper, with 1-based indices inside.
"""

from fractions import Fraction
from math import comb


def identity(n):
    return [[Fraction(int(i == j)) for j in range(n)] for i in range(n)]


def extract(U, p):
    """Element extraction operators of a clamped knot vector U of degree p."""
    m = len(U)
    u = [None] + [Fraction(x) for x in U]  # u[1..m]
    one = lambda: [[None] * (p + 2)] + [[None] + row for row in identity(p + 1)]
    a, b, nb = p + 1, p + 2, 1  # @line L1
    C = {1: one()}
    alphas = [None] * (p + 2)
    while b < m:  # @line L2
        C[nb + 1] = one()  # @line L3
        i = b
        while b < m and u[b + 1] == u[b]:  # @line L4
            b += 1
        mult = b - i + 1  # @line L5
        if mult < p:  # @line L6
            numer = u[b] - u[a]
            for j in range(p, mult, -1):  # @line L7
                alphas[j - mult] = numer / (u[a + j] - u[a])
            r = p - mult  # @line L8
            for j in range(1, r + 1):  # @line L9
                save = r - j + 1
                s = mult + j  # @line L10
                for k in range(p + 1, s, -1):  # @line L11
                    al = alphas[k - s]
                    for row in range(1, p + 2):
                        C[nb][row][k] = al * C[nb][row][k] + (1 - al) * C[nb][row][k - 1]
                if b < m:  # @line L12
                    for t in range(j + 1):
                        C[nb + 1][save + t][save] = C[nb][p - j + 1 + t][p + 1]
        nb += 1  # @line L13
        if b < m:  # @line L14
            a, b = b, b + 1
    return [[row[1:] for row in C[e][1:]] for e in range(1, nb)]  # @line L15


def elements(U):
    """The nonempty knot spans [u_k, u_{k+1}) with their span index k."""
    return [(k, U[k], U[k + 1]) for k in range(len(U) - 1) if U[k] < U[k + 1]]


def bernstein(p, s):
    return [comb(p, j) * s**j * (1 - s) ** (p - j) for j in range(p + 1)]


def local_basis(Ce, p, s):
    """N^e = C^e B(s) for the local parameter s in [0, 1]."""
    B = bernstein(p, s)
    return [sum(c * x for c, x in zip(row, B)) for row in Ce]


def rational_local_basis(Ce, w, p, s):
    """NURBS: R^e = W^e C^e B / W with the weight function W = (C^e^T w) . B."""
    N = local_basis(Ce, p, s)
    W = sum(wa * na for wa, na in zip(w, N))
    return [wa * na / W for wa, na in zip(w, N)]


def bezier_points(Ce, P):
    """Bezier control points of an element: (C^e)^T applied to the local points."""
    n = len(Ce)
    return [tuple(sum(Ce[a][j] * P[a][c] for a in range(n)) for c in range(len(P[0]))) for j in range(n)]
test_bezier_extraction.py 130 lines
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/bezier-extraction/. The authors are listed in prov/5HN7GF.jsonl.

import random
from fractions import Fraction as F

from bezier_extraction import bezier_points, elements, extract, local_basis, rational_local_basis


def cox_de_boor(t, i, p, u):
    """N_{i,p}(u) by the recursion, on half-open spans."""
    if p == 0:
        return F(int(t[i] <= u < t[i + 1]))
    s = F(0)
    if t[i + p] > t[i]:
        s += (u - t[i]) / (t[i + p] - t[i]) * cox_de_boor(t, i, p - 1, u)
    if t[i + p + 1] > t[i + 1]:
        s += (t[i + p + 1] - u) / (t[i + p + 1] - t[i + 1]) * cox_de_boor(t, i + 1, p - 1, u)
    return s


def random_knots(rng, p):
    U = [F(0)] * (p + 1)
    for x in range(1, rng.randint(2, 6)):
        U += [F(x)] * rng.randint(1, p)
    end = U[-1] + 1
    return U + [end] * (p + 1)


def insert(t, p, P, x):
    """Boehm insertion on coefficient vectors (dicts), used as the reference."""
    k = max(i for i in range(len(t) - 1) if t[i] <= x < t[i + 1])
    Q = []
    for i in range(len(P) + 1):
        if i <= k - p:
            Q.append(P[i])
        elif i > k:
            Q.append(P[i - 1])
        else:
            a = (x - t[i]) / (t[i + p] - t[i])
            Q.append({j: (1 - a) * P[i - 1].get(j, 0) + a * P[i].get(j, 0) for j in set(P[i]) | set(P[i - 1])})
    return t[: k + 1] + [x] + t[k + 1 :], Q


def global_extraction(U, p):
    """Reference: insert every interior knot up to multiplicity p over the whole basis."""
    n = len(U) - p - 1
    t, Q = list(U), [{i: F(1)} for i in range(n)]
    for x in sorted(set(U))[1:-1]:
        while t.count(x) < p:
            t, Q = insert(t, p, Q, x)
    out = []
    for e, (k, _, _) in enumerate(elements(U)):
        rows = range(k - p, k + 1)
        out.append([[Q[e * p + j].get(i, F(0)) for j in range(p + 1)] for i in rows])
    return out


def test_paper_example():
    C = extract([0, 0, 0, 0, 1, 2, 3, 4, 4, 4, 4], 3)
    assert len(C) == 4
    assert C[0] == [[1, 0, 0, 0], [0, 1, F(1, 2), F(1, 4)], [0, 0, F(1, 2), F(7, 12)], [0, 0, 0, F(1, 6)]]
    assert C[1] == [[F(1, 4), 0, 0, 0], [F(7, 12), F(2, 3), F(1, 3), F(1, 6)], [F(1, 6), F(1, 3), F(2, 3), F(2, 3)], [0, 0, 0, F(1, 6)]]
    assert C[3] == [list(reversed(r)) for r in reversed(C[0])]


def test_against_cox_de_boor():
    rng = random.Random(7)
    for p in (1, 2, 3, 4):
        for _ in range(3):
            U = random_knots(rng, p)
            C = extract(U, p)
            spans = elements(U)
            assert len(C) == len(spans)
            for Ce, (k, lo, hi) in zip(C, spans):
                for s in [F(0), F(1, 3), F(1, 2), F(5, 7), F(rng.randint(1, 99), 100)]:
                    u = lo + s * (hi - lo)
                    want = [cox_de_boor(U, i, p, u) for i in range(k - p, k + 1)]
                    assert local_basis(Ce, p, s) == want


def test_against_global_knot_insertion():
    rng = random.Random(8)
    for p in (1, 2, 3, 4):
        for _ in range(3):
            U = random_knots(rng, p)
            assert extract(U, p) == global_extraction(U, p)


def test_columns_sum_to_one_and_entries_nonnegative():
    rng = random.Random(9)
    for p in (2, 3, 5):
        U = random_knots(rng, p)
        for Ce in extract(U, p):
            for j in range(p + 1):
                assert sum(Ce[a][j] for a in range(p + 1)) == 1
            assert all(x >= 0 for row in Ce for x in row)


def test_bezier_points_give_the_curve():
    rng = random.Random(10)
    p = 3
    U = random_knots(rng, p)
    n = len(U) - p - 1
    P = [(F(rng.randint(-5, 5)), F(rng.randint(-5, 5))) for _ in range(n)]
    for Ce, (k, lo, hi) in zip(extract(U, p), elements(U)):
        Bz = bezier_points(Ce, P[k - p : k + 1])
        for s in (F(0), F(1, 4), F(2, 3)):
            u = lo + s * (hi - lo)
            want = tuple(sum(cox_de_boor(U, i, p, u) * P[i][c] for i in range(n)) for c in range(2))
            # de Casteljau on the Bezier points
            pts = [list(q) for q in Bz]
            for r in range(1, p + 1):
                pts = [[(1 - s) * x + s * y for x, y in zip(pts[j], pts[j + 1])] for j in range(p + 1 - r)]
            assert tuple(pts[0]) == want


def test_rational_basis():
    p = 2
    U = [0, 0, 0, 1, 2, 2, 2]
    w = [F(1), F(1, 2), F(2), F(1)]
    for Ce, (k, lo, hi) in zip(extract(U, p), elements(U)):
        for s in (F(0), F(1, 5), F(1, 2), F(1)):
            u = lo + s * (hi - lo)
            N = [cox_de_boor(U, i, p, u) if u < 2 else F(int(i == 3)) for i in range(4)]
            W = sum(wi * ni for wi, ni in zip(w, N))
            want = [w[i] * N[i] / W for i in range(k - p, k + 1)]
            if u < 2:
                assert rational_local_basis(Ce, w[k - p : k + 1], p, s) == want
            assert sum(rational_local_basis(Ce, w[k - p : k + 1], p, s)) == 1

Exercises

  1. Compute the extraction operators for p=2p = 2 and u=(0,0,0,1,1,2,2,2)u = (0, 0, 0, 1, 1, 2, 2, 2). Explain why C1C^1 and C2C^2 are both identity matrices.
  2. Prove that the first column of the operator of an interior element in a uniform cubic knot vector is (16,23,16,0)(\tfrac16, \tfrac23, \tfrac16, 0), the values of the uniform cubic B-splines at a knot.
  3. Show that ∫eNa du=hep+1∑jCaje\int_e N_a\,du = \frac{h_e}{p+1} \sum_j C^e_{aj}, where heh_e is the length of the element. Use ∫01Bj ds=1p+1\int_0^1 B_j\,ds = \frac{1}{p+1}.
  4. Write the extraction operator of a tensor product element with p=q=2p = q = 2 on the knot vectors of the quadratic example in both directions, for the element [1,2]×[1,2][1, 2] \times [1, 2]. Check that its columns sum to 1.
  5. For a circle written as a quadratic NURBS with 9 control points and knots (0,0,0,14,14,12,12,34,34,1,1,1)(0, 0, 0, \tfrac14, \tfrac14, \tfrac12, \tfrac12, \tfrac34, \tfrac34, 1, 1, 1), show that every CeC^e is the identity, and explain why.

References

  1. M. J. Borden, M. A. Scott, J. A. Evans and T. J. R. Hughes, Isogeometric finite element data structures based on Bézier extraction of NURBS, International Journal for Numerical Methods in Engineering 87(1-5), 2011, 15 to 47, the whole paper, the extraction operator in one dimension with its knot insertion algorithm, the tensor product case and the NURBS case
  2. M. A. Scott, M. J. Borden, C. V. Verhoosel, T. W. Sederberg and T. J. R. Hughes, Isogeometric finite element data structures based on Bézier extraction of T-splines, International Journal for Numerical Methods in Engineering 88(2), 2011, 126 to 156, the whole paper, extraction for T-splines
  3. J. A. Cottrell, T. J. R. Hughes and Y. Bazilevs, Isogeometric Analysis, Toward Integration of CAD and FEA, Wiley, 2009, Chapter 3 (NURBS as a basis for analysis, p. 69) and Appendix A (connectivity arrays, p. 313)
  4. Les Piegl and Wayne Tiller, The NURBS Book, 2nd edition, Springer, 1997, Chapter 5, the decomposition of a B-spline curve into Bezier pieces by knot insertion

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
Code (python)I0 not checked yet
  • the tests did not run in this build
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW3 standard
  • five exercises