Skip to main content

Biquadratic Bezier surface point calculation

Short answer

The biquadratic Bezier surface is a tensor product of quadratic curves. Applying Bernstein blending gives P(0.5,0.5) = (4,4,2.75) and P(0.25,0.5) = (2,4,2.3125).

A biquadratic Bezier surface patch has a 3 x 3 control net B(i,j) = (4i, 4j, z_ij), i, j = 0, 1, 2, with the z values z = [[0, 2, 0], [3, 6, 3], [0, 2, 0]] (row i, column j). Write the equation of the patch and calculate the surface point at (u, w) = (0.5, 0.5), and the point at (0.25, 0.5).

Equation of the patch

For degree 2 in both directions:

P(u,w)=∑i=02∑j=02Bij J2,i(u) J2,j(w)\mathbf P(u,w)=\sum_{i=0}^{2}\sum_{j=0}^{2}\mathbf B_{ij}\,J_{2,i}(u)\,J_{2,j}(w)

with J2,0=(1−t)2J_{2,0}=(1-t)^2, J2,1=2t(1−t)J_{2,1}=2t(1-t), J2,2=t2J_{2,2}=t^2.

Control net

(i,j)(i,j)j = 0j = 1j = 2
i = 0(0,0,0)(0,4,2)(0,8,0)
i = 1(4,0,3)(4,4,6)(4,8,3)
i = 2(8,0,0)(8,4,2)(8,8,0)

Point at (0.5, 0.5)

Weights for t=0.5t=0.5 in both directions: 0.25, 0.5, 0.250.25,\ 0.5,\ 0.25.

xx and yy follow from the grid (x=4ix=4i, y=4jy=4j at the net points):

x=4 (0⋅0.25+1⋅0.5+2⋅0.25)=4,y=4x=4\,(0\cdot0.25+1\cdot0.5+2\cdot0.25)=4,\qquad y=4

For zz, first sum across jj for each row (ww weights 0.25,0.5,0.250.25, 0.5, 0.25):

row 0: 0(0.25)+2(0.5)+0(0.25)=1.0row 1: 3(0.25)+6(0.5)+3(0.25)=4.5row 2: 1.0\begin{aligned} \text{row 0: }&0(0.25)+2(0.5)+0(0.25)=1.0 \\ \text{row 1: }&3(0.25)+6(0.5)+3(0.25)=4.5 \\ \text{row 2: }&1.0 \end{aligned}

Then across ii (uu weights 0.25,0.5,0.250.25, 0.5, 0.25):

z=0.25(1.0)+0.5(4.5)+0.25(1.0)=2.75z=0.25(1.0)+0.5(4.5)+0.25(1.0)=2.75

Surface point (4, 4, 2.75)(4,\ 4,\ 2.75) (the central net point has z=6z=6, so the surface lies well below it, as expected for an approximating surface).

Point at (0.25, 0.5)

uu weights for t=0.25t=0.25: (0.75)2=0.5625(0.75)^2=0.5625, 2(0.25)(0.75)=0.3752(0.25)(0.75)=0.375, (0.25)2=0.0625(0.25)^2=0.0625. The ww weights remain 0.25,0.5,0.250.25, 0.5, 0.25, so the row sums are again 1.0,4.5,1.01.0, 4.5, 1.0.

x=4(0.375+2×0.0625)=2.0y=4(0.5+2×0.25)=4.0z=0.5625(1.0)+0.375(4.5)+0.0625(1.0)=2.3125\begin{aligned} x&=4(0.375+2\times0.0625)=2.0 \\ y&=4(0.5+2\times0.25)=4.0 \\ z&=0.5625(1.0)+0.375(4.5)+0.0625(1.0)=2.3125 \end{aligned}

Answer: P(0.5, 0.5) = (4, 4, 2.75); P(0.25, 0.5) = (2, 4, 2.3125).

✓ Answer checked by Claude Opus 5.5 (high effort)

All Computer Aided Design chapter 4 questions →