
Citation: Yan Wu, Chun-Gang Zhu. Generating bicubic B-spline surfaces by a sixth order PDE[J]. AIMS Mathematics, 2021, 6(2): 1677-1694. doi: 10.3934/math.2021099
[1] | M. S. Hashmi, Rabia Shikrani, Farwa Nawaz, Ghulam Mustafa, Kottakkaran Sooppy Nisar, Velusamy Vijayakumar . An effective approach based on Hybrid B-spline to solve Riesz space fractional partial differential equations. AIMS Mathematics, 2022, 7(6): 10344-10363. doi: 10.3934/math.2022576 |
[2] | Qi Xie, Yiting Huang . A class of generalized quadratic B-splines with local controlling functions. AIMS Mathematics, 2023, 8(10): 23472-23499. doi: 10.3934/math.20231193 |
[3] | Mei Li, Wanqiang Shen . Integral method from even to odd order for trigonometric B-spline basis. AIMS Mathematics, 2024, 9(12): 36470-36492. doi: 10.3934/math.20241729 |
[4] | Yasir Nawaz, Muhammad Shoaib Arif, Kamaleldin Abodayeh, Mairaj Bibi . Finite difference schemes for time-dependent convection q-diffusion problem. AIMS Mathematics, 2022, 7(9): 16407-16421. doi: 10.3934/math.2022897 |
[5] | Azzh Saad Alshehry, Humaira Yasmin, Ali M. Mahnashi . Analyzing fractional PDE system with the Caputo operator and Mohand transform techniques. AIMS Mathematics, 2024, 9(11): 32157-32181. doi: 10.3934/math.20241544 |
[6] | Abdul Majeed, Muhammad Abbas, Amna Abdul Sittar, Md Yushalify Misro, Mohsin Kamran . Airplane designing using Quadratic Trigonometric B-spline with shape parameters. AIMS Mathematics, 2021, 6(7): 7669-7683. doi: 10.3934/math.2021445 |
[7] | Osama Ala'yed, Belal Batiha, Diala Alghazo, Firas Ghanim . Cubic B-Spline method for the solution of the quadratic Riccati differential equation. AIMS Mathematics, 2023, 8(4): 9576-9584. doi: 10.3934/math.2023483 |
[8] | Shanshan Wang . Split-step quintic B-spline collocation methods for nonlinear Schrödinger equations. AIMS Mathematics, 2023, 8(8): 19794-19815. doi: 10.3934/math.20231009 |
[9] | Emre Kırlı . A novel B-spline collocation method for Hyperbolic Telegraph equation. AIMS Mathematics, 2023, 8(5): 11015-11036. doi: 10.3934/math.2023558 |
[10] | Azadeh Ghanadian, Taher Lotfi . Approximate solution of nonlinear Black–Scholes equation via a fully discretized fourth-order method. AIMS Mathematics, 2020, 5(2): 879-893. doi: 10.3934/math.2020060 |
PDE based modelling approach is especially suitable for satisfying surface boundary constraints ([1]). Using PDE to design surfaces can be traced back to the method of Bloor and Wilson ([2]), which is based upon the notion that a surface can be created as the solution to a PDE. In [3,4,5], Bloor and Wilson indicate the ways to create surfaces satisfying a wide range of functional requirements by a suitable choice of PDE and boundary conditions. Furthermore, they describe a method whereby PDE surfaces may be obtained in closed form, even for the case of general boundary conditions ([6]). In [7], Ugail et al. show how surfaces of practical significance can be constructed interactively in real time.
The minimal surfaces can be related to the harmonic equation. In [8,9,10], Cosin and Monterde obtain polynomial approximations to minimal Bézier surfaces. Xu and Wang present the problems related to sextic and quintic parametric polynomial minimal surfaces in [11] and [12]. Xu et al. present the quasi-harmonic Bézier surfaces to approximate the minimal surfaces in [13].
The biharmonic equation can be used to generate surfaces with minimal blending energy and design the tangent-continuous surfaces. In [14], Monterde and Ugail present a method to generate Bézier surfaces based on a general 4th-order PDE. On the existence of biharmonic tensor-product Bézier surface patches are presented in [15].
B-spline curves and surfaces, especially bicubic B-spline surfaces are widespread throughout computer aided design (CAD), CAGD and numerical solutions of PDE. In [16], a method of approximating the surface in terms of B-spline is proposed. In [17], the bicubic B-spline surfaces with fixed boundary conditions by minimizing functions are constructed. In [18,19,20], cubic B-splines are widely applied to solve PDE problems. The optimization method of the quadratic functional in a bicubic splines functional space is presented in [21].
The method of mask is used to construct a surface that satisfies a certain PDE, which makes the formation of the surface simple and stable. In [22], Farin and Hansford formulate discrete Coons patches. Representation of piecewise biharmonic surfaces using biquadratic B-splines is proposed by Han and Han in [23]. A main result is that they construct biquadratic B-spline surfaces by applying biharmonic PDE. Afterwards, they present the non-uniform bicubic B-spline surfaces subjected to the biharmonic PDE in [24].
The sixth order PDE is generally formulated as
(a∂6∂u6+b∂6∂u5∂v+c∂6∂u4∂v2+d∂6∂u3∂v3+e∂6∂u2∂v4+f∂6∂u∂v5+g∂6∂v6)x(u,v)=0, | (1.1) |
where a,b,c,d,e,f,g∈R are constants, whose corresponding quadratic functional is
La,b,c,d,e,f,g(x)=12∫Ω(a‖xuuu‖2+b⟨xuuu,xuuv⟩+c‖xuuv‖2+d⟨xuuu,xvvv⟩+e‖xuvv‖2+f⟨xuvv,xvvv⟩+g‖xvvv‖2)dudv, | (1.2) |
where Ω is the parametric domain of x(u,v). Particularly, the triharmonic functional L1,0,3,0,3,0,1 related to the Laplacian gradient energy of surface x(u,v) have found their way into various areas of application, such as surface design and geometric mesh smoothing ([25]). In fluid mechanics, the triharmonic equation is used to describe two-dimensional slowly rotating highly viscous fluid flow in small cavities ([26]). In [27], Kapl and Vitrih present a framework for solving the triharmonic equation over bilinearly parameterized planar multi-patch domains by means of isogeometric analysis (IGA). Wu and Zhu construct the tensor product Bézier surfaces which satisfies the triharmonic equation in [28]. The result is that the internal control points of the resulting triharmonic Bézier surface can be obtained uniquely by the given boundary condition.
In [29,30], the general sixth order PDEs are proposed to solve the problems of C2 continuity in fair surface modeling and surface blending. A framework for real-time freeform modeling based on the sixth order PDE is proposed in [31]. In [32], Zhang and Xu apply a general sixth order geometric PDE from minimizing a curvature integral functional to solve several surface modeling problems. In [33], a general formulation of sixth order geometric flows is proposed.
The sixth order Eq (1.1) provides enough degrees of freedom not only to accommodate tangent, but also curvature boundary conditions, and offers more shape control parameters to serve as user controls for the manipulation of surface shapes. Furthermore, the main control of the surface is to gain through the manipulation of the boundary conditions, which makes it have a good application in interactive design. The use of sixth order surfaces would enable surfaces to be generated and controlled using a set of control points, where the interior of the resulting surface can be controlled by the boundary condition.
It is worth noting that if the surface x(u,v) is bicubic B-spline and d≠0, then the general sixth order PDE (1.1) is reduced to the particular PDE
∂6∂u3∂v3x(u,v)=0. | (1.3) |
The aim of this paper is to analyze the theory and present effective algorithms for generating surfaces from the sixth order Eq (1.3). As we know, high order continuity surfaces can be used to efficiently solve problems of surface processing and modeling. And bicubic B-spline surfaces are a very useful tool in surface modeling and scientific computing. If we apply the operator (1.3) to a bicubic B-spline surface, only one of terms is nonzero, and the others are always zeros. This makes the rest of the parameters no impact and then leads the problem easy to solve. If we apply (1.3) to B-spline surfaces of higher degrees, then the corresponding linear systems will be very complex. In this paper, inspired by Han's methods ([23,24]) and the idea from [28], we apply the sixth order operator to generate bicubic B-spline surfaces with the uniform and the quasi-uniform knots, and the algorithms are also provided. We provide the mask of 4×4, which is a generalization of Farin's mask ([22]), that is, each equation in the linear system is related to 16 control points.
The paper is organised as follows. In the Section 2, we recall some notations related to bicubic B-spline surfaces, and then we study the general sixth order PDE operator acting on every patch of bicubic B-spline to form a mask. In the Section 3, bicubic B-spline surfaces satisfying sixth order PDE are constructed with the uniform knots and the quasi-uniform knots respectively. In the Section 4, we provide some examples for construction of bicubic B-spline surfaces based on sixth order PDE to verify our methods.
A bicubic B-spline surface x(u,v) with the knot vectors U=(u0,u1,⋯,un+4) and V=(v0,v1,⋯,vn+4) is defined as ([1])
x(u,v)=n∑i,j=0Ni(u)Nj(v)Pi,j, (u,v)∈[u3,un+1]×[v3,vn+1], | (2.1) |
where Ni(u) and Nj(v) are cubic B-spline basis functions defined over U and V respectively, {Pi,j}ni,j=0∈R3 denote the control points. The basis functions Ni(u), i=0,1,2,⋯,n, defined over U can be represented as follow ([1])
Ni(u)={(u−ui)3(ui+1−ui)(ui+2−ui)(ui+3−ui),u∈[ui,ui+1),(u−ui)2(ui+2−u)(ui+2−ui)(ui+2−ui+1)(ui+3−ui)+(u−ui)(ui+3−u)(u−ui+1)(ui+3−ui)(ui+3−ui+1)(ui+2−ui+1)+(ui+4−u)(u−ui+1)2(ui+2−ui+1)(ui+3−ui+1)(ui+4−ui+1),u∈[ui+1,ui+2),(u−ui)(ui+3−u)2(ui+3−ui)(ui+3−ui+1)(ui+3−ui+2)+(u−ui+1)(ui+3−u)(ui+4−u)(ui+3−ui+1)(ui+3−ui+2)(ui+4−ui+1)+(ui+4−u)2(u−ui+2)(ui+4−ui+1)(ui+4−ui+2)(ui+3−ui+2),u∈[ui+2,ui+3),(ui+4−u)3(ui+4−ui+1)(ui+4−ui+2)(ui+4−ui+3),u∈[ui+3,ui+4),0,u∉[ui,ui+4). | (2.2) |
And the basis functions Nj(v), j=1,2,⋯,n, defined over V can be represented similarly.
For the convenience, we make some notations for knot vector U, which is similar to the one used by Han in [23]. When the knots do not coincide with each other, we introduce the symbols,
{λi=ui+1−ui,αi=1λi,βi=1λi+λi+1,γi=1λi+λi+1+λi+2. | (2.3) |
Thereupon, from (2.2), we get
N(3)i(u)={6αiβiγi,u∈[ui,ui+1),−6(αi+1βiγi+αi+1βi+1γi+αi+1βi+1γi+1),u∈[ui+1,ui+2),6(αi+2βi+1γi+αi+2βi+1γi+1+αi+2βi+2γi+1),u∈[ui+2,ui+3),−6αi+3βi+2γi+1,u∈[ui+3,ui+4),0,u∉[ui,ui+4). | (2.4) |
In the same way, we set ˜αj,˜βj,˜γj and ˜λj for the knot vector V and obtain N(3)j(v).
We consider a sixth order PDE operator (1.3) to act on the bicubic B-spline surface (2.1). For a patch of x(u,v) on [ui,ui+1]×[vj,vj+1], we can apply the condition Eq (1.3) and get
i∑k=i−3j∑l=j−3N(3)k(u)N(3)l(v)Pk,l=0, | (2.5) |
Therefore, according to (2.4), we get
N(3)i(u)=6αiβiγi,N(3)i−1(u)=−6αiβi−1γi−1−6αiβiγi−1−6αiβiγi,N(3)i−2(u)=6αiβi−1γi−2+6αiβi−1γi−1+6αiβiγi−1,N(3)i−3(u)=−6αiβi−1γi−2. | (2.6) |
In order to simplify the Eq (2.5), let us remark that
ti,3=6ai,ti,2=−6(ai+bi+ci),ti,1=6(bi+ci+di),ti,0=−6di, | (2.7) |
where
ai=αiβiγi,bi=αiβiγi−1,ci=αiβi−1γi−1,di=αiβi−1γi−2. | (2.8) |
Hence, according to these notations, Eq (2.5) holds if and only if
i∑k=i−3j∑l=j−3ti,k+3−i˜tj,l+3−jPk,l=0, | (2.9) |
where ti,k+3−i˜tj,l+3−j (k=i−3,⋯,i, l=j−3,⋯,j) are the coefficients associated with the knot vectors U and V.
Considering the scheme with the control points as follow,
Pi−3,j−3Pi−3,j−2Pi−3,j−1Pi−3,jPi−2,j−3Pi−2,j−2Pi−2,j−1Pi−2,jPi−1,j−3Pi−1,j−2Pi−1,j−1Pi−1,jPi,j−3Pi,j−2Pi,j−1Pi,j. | (2.10) |
According to Eq (2.9), the coefficients of mask in (2.10) are obtained,
ti,0˜tj,0ti,0˜tj,1ti,0˜tj,2ti,0˜tj,3ti,1˜tj,0ti,1˜tj,1ti,1˜tj,2ti,1˜tj,3ti,2˜tj,0ti,2˜tj,1ti,2˜tj,2ti,2˜tj,3ti,3˜tj,0ti,3˜tj,1ti,3˜tj,2ti,3˜tj,3. | (2.11) |
Specially, if the knot vectors for U and V are uniform (λ=ui+1−ui, ˜λ=vj+1−vj), then, the coefficients in (2.11) can be rewritten in the below form,
1λ3˜λ3×1−33−1−39−933−99−3−13−31. | (2.12) |
The goal is to give the boundary control points whereby the choice of the remaining control points will be done by a linear system. In this paper, the boundary condition is
P0,0P0,1P0,2⋯P0,n−1P0,nP1,0P1,1P1,2⋯P1,n−1P1,nP2,0P2,1∗⋯∗P2,n⋮⋮⋮⋱⋮⋮Pn−1,0Pn−1,1∗⋯∗Pn−1,nPn,0Pn,1Pn,2⋯Pn,n−1Pn,n. | (3.1) |
Let's consider applying the mask (2.11) to the boundary condition (3.1), and then the linear system related to the unknown inner control points as ′∗′ shown in (3.1) can be obtained by
Tx=Hy, | (3.2) |
where
x=(x2,x3,⋯,xn−1)T,xi=(Pi,2,Pi,3,⋯,Pi,n−1)T, |
y=(y0,y1,⋯,yn)T, |
yi=(Pi,0,Pi,1,⋯,Pi,n)T(i=0,1,n), |
yi=(Pi,0,Pi,1,Pi,n)T(i=2,3,⋯,n−1), |
and
H=−(t3,0˜Et3,1˜Et3,2˜Ft3,3˜F0⋯⋯⋯00t4,0˜Et4,1˜Ft4,2˜Ft4,3˜F0⋮00t5,0˜Ft5,1˜Ft5,2˜Ft5,3˜F0⋮⋮⋱⋱⋱⋱⋱⋱⋮⋮0tn−1,0˜Ftn−1,1˜Ftn−1,2˜Ftn−1,3˜F00⋯⋯⋯0tn,0˜Ftn,1˜Ftn,2˜Ftn,3˜E), | (3.3) |
˜E=(˜t3,0˜t3,1˜t3,2˜t3,30⋯00˜t4,0˜t4,1˜t4,2˜t4,3⋮⋮⋱⋱⋱⋱00⋯0˜tn,0˜tn,1˜tn,2˜tn,3)(n−2)×(n+1), | (3.4) |
˜F=(˜t3,0˜t3,10⋯⋯0˜t4,0⋮⋮⋮⋮0⋯⋯0˜tn,3)(n−2)×(n+1). | (3.5) |
where H={hi,j} and ˜E={ei,j} are diagonal matrices.
The solution to the linear system (3.2) which subjects to boundary condition (3.1) and the knot vectors for U and V. Moreover, the coefficient matrix T of the corresponding linear system can be divided into the form of the Kronecker product of two matrices. we substitute T(n−2)2(n≥3) for T as
T(n−2)2=Mn−2⨂Nn−2, | (3.6) |
where
Mn−2=(t3,2t3,3t4,1t4,2t4,3t5,0t5,1t5,2t5,3⋱⋱⋱⋱tn−1,0tn−1,1tn−1,2tn−1,3tn,0tn,1tn,2), |
and
Nn−2=(˜t3,2˜t3,3˜t4,1˜t4,2˜t4,3˜t5,0˜t5,1˜t5,2˜t5,3⋱⋱⋱⋱˜tn−1,0˜tn−1,1˜tn−1,2˜tn−1,3˜tn,0˜tn,1˜tn,2), |
where the Kronecker product of matrices is
K⨂L=(k1,1Lk1,2L⋯k1,nLk2,1Lk2,2L⋯k2,nL⋮⋮⋱⋮km,1Lkm,2L⋯km,nL), |
for any K=(ki,j)m×n, L=(li,j)r×s, which satisfy the following conditions,
ti,0+ti,1+ti,2+ti,3=0,˜ti,0+˜ti,1+˜ti,2+˜ti,3=0,3≤i≤n, | (3.7) |
|t3,2|>|t3,3|,|˜t3,2|>|˜t3,3|,0<ti,1,ti,3,˜ti,1,˜ti,3<1. | (3.8) |
Note that it is difficult to prove the invertibility of the above matrix Mn−2 or Nn−2. Since the B-spline functions and B-spline surfaces with the uniform or the quasi-uniform knots offer more advantages, such as simple structure, interpolation property of boundary and corners and easy implementation of geometric algorithms, so that they are the most commonly used tools in CAGD and other application fields. In this paper, we will prove the invertibility of the above matrices for the uniform and the quasi-uniform knot vectors, and present the algorithms of surface construction respectively.
Suppose bicubic B-spline surface defined over knot vectors are uniform, then we make
U=(u0,u1,⋯,un+4),V=(v0,v1,⋯,vn+4), |
where λ=ui+1−ui,˜λ=vj+1−vj,i,j=0,1,⋯,n+3.
Theorem 1. If
x(u,v)=n∑i,j=0Ni(u)Nj(v)Pi,j, (u,v)∈[u3,un+1]×[v3,vn+1] |
is a bicubic B-spline surface satisfying the sixth order PDE (1.3) with control net {Pi,j}ni,j=0 for the uniform knot vectors U and V, then all the inner control points {Pi,j}n−1i,j=2 are determined by the remaining control points.
Proof. Since U and V are the uniform knot vectors, the mask (2.12) can be moved by the boundary condition (3.1), then we can get a linear system related to the internal control points. The coefficient matrix (3.6) is simplified as
T(n−2)2=Sn−2λ3⨂Sn−2~λ3, | (3.9) |
where ⨂ is the Kronecker product, and Sn−2 is a quad-diagonal matrix
Sn−2=(−313−31−13−31⋱⋱⋱⋱−13−31−13−3). |
Now, we define Ln as the determinant of the matrix Sn. Then, recurrence relation is
Ln=−3Ln−1−3Ln−2−Ln−3, |
and the initial values are
L1=−3,L2=6,L3=−10, |
Therefore, we get
Ln=(−1)n+32(−1)nn+12(−1)nn2. |
Obviously, matrix Sn−2 is invertible. Furthermore, the matrix T(n−2)2 is non-singular. So that all the inner control points {Pi,j}n−1i,j=2 are obtained from the linear system (3.2).
The knot vector U of p degree B-spline surfaces is called quasi-uniform if we add p+1 multiple knots at the endpoints u0=u1=⋯=up,un+1=un+2=⋯=un+p+1 and ui+1−ui=λ,i=p,⋯,n. This type of B-spline surfaces is also called clamped B-spline surfaces. Since the clamped B-spline surface interpolates four corner control points and has better boundary property, it is widely used in practical applications.
Suppose bicubic B-spline surface defined over knot vectors are quasi-uniform, for p=3, we make
U=(u0,u1,⋯,un+4),V=(v0,v1,⋯,vn+4), |
where
u0=u1=u2=u3,un+1=un+2=un+3=un+4, |
and
λ=ui+1−ui,˜λ=vj+1−vj,i,j=3,4,⋯,n. |
Thus, (2.3) can be rewritten as follows
αi=1λ,βi={1λ,if i=2,n,12λ,if i≠2,n.γi={1λ,if i=1,n,12λ,if i=2,n−1,13λ,if i≠1,2,n−1,n. | (3.10) |
Theorem 2. If
x(u,v)=n∑i,j=0Ni(u)Nj(v)Pi,j,(u,v)∈[u3,un+1]×[v3,vn+1] |
is a bicubic B-spline surface satisfying the sixth order PDE (1.3) with control net {Pi,j}ni,j=0 for the quasi-uniform knot vectors U and V, then all the inner control points {Pi,j}n−1i,j=2 are determined by the remaining control points.
The proof is similar to the proof of Theorem 1, and then we will omit it here. Next, we will show how to generate the bicubic B-spline surface satisfying the sixth order PDE (1.3) for different n with the quasi-uniform knots from given boundary condition (3.1).
Let us define a set of vectors for U,
{αn=(α3,⋯,αn),βn=(β2,⋯,βn),γn=(γ1,γ2,⋯,γn). | (3.11) |
where {αi}ni=3, {βi}ni=2 and {γi}ni=1 can be taken from (3.10), thus,
Now the model can be obtained by Eq (3.11) as
α3⋯⋯⋯αnβ2β3⋯⋯βn−1βnγ1γ2γ3⋯γn−2γn−1γn. | (3.12) |
Similarly, ˜α,˜β,˜γ and ˜λ for the knot vector V can be obtained in the same way.
Now, let's consider that the surface (2.1) satisfying the sixth order PDE over the quasi-uniform knots, then we get the following results.
(1) For n=3, (u,v)∈[u3,u4]×[v3,v4]. According to (3.10) and (3.11), we get
{α3=(1λ),β3=(1λ,1λ),γ3=(1λ,1λ,1λ), | (3.13) |
there is the unique mask (2.11) satisfying the condition of sixth order PDE (1.3) exactly, and the coefficient matrix is
T1=−18λ3⨂−18˜λ3. | (3.14) |
This mask is suitable for boundary condition (3.1) with n=3, so the unknown point P2,2 can be obtained.
(2) For n=4, (u,v)∈[ui,ui+1]×[vj,vj+1] (i,j=3,4), there are four different masks moving on the control points. According to and (3.10) and (3.11), we get
{α4=(1λ,1λ),β4=(1λ,12λ,1λ)γ4=(1λ,12λ,12λ,1λ), | (3.15) |
and then the linear system related to the internal unknown control points is obtained. By simple calculation, the coefficient matrix of the linear system is given as
T4=M2⨂N2, |
where
M2=3λ3(−2122−72),N2=3˜λ3(−2122−72). |
Obviously, by the boundary condition (3.1) with n=4, the all the unknown points can be obtained.
(3) For n≥5, we will give some notations in order to write ai,bi,ci,di in matrix forms,
ai=ai,k,bi=bi,k,ci=ci,k,di=di,k,(i=3,4,⋯,k;k=i,i+1,⋯,n), | (3.16) |
where ai,bi,ci,di can be taken by (2.8) and (3.10). Then, we get below matrices
A=16λ3(63211⋯16321⋯1632⋯1⋱⋱⋮6326),B=16λ3(6323232⋯32311⋯131⋯1⋱⋱⋮313), |
C=16λ3(6333⋯33211⋯1321⋯1⋱⋱⋮32132),D=16λ3(6666⋯6323232⋯3211⋯1⋱⋱⋮111), |
where A={ai,j}ni,j=3, B={bi,j}ni,j=3, C={ci,j}ni,j=3 and D={di,j}ni,j=3.
Given boundary condition (3.1) with n≥3, the bicubic B-spline surface (2.1) satisfying the sixth order PDE with the quasi-uniform knots U and V can be constructed by above analysis, and the algorithm is listed as below.
In this section, we will illustrate some examples for constructing bicubic B-spline surfaces satisfying the sixth order PDEs from different boundary conditions. By applying the general sixth order PDE operator, the result is that the surfaces are curvature continuous. Furthermore, the asymmetry boundary conditions can be an advantage for solving blending problems (see Example 4 and Example 5).
Example 1. From the boundary condition (3.1), a bicubic B-spline surface satisfying the sixth order PDE (1.3) of n=5 with the uniform knots is constructed (see Figure 1). First, the boundary condition is given (see Figure 1(a)), and then all the control points are calculated according to Algorithm 1 (see the red color dots in Figure 1(b)). Finally, the resulting surface is constructed in Figure 1(c). Obviously, we can adjust the shape of the surface by the given control points.
Algorithm 1 Construction of bicubic B-spline surface x(u,v) satisfying the sixth order PDE with the uniform knots |
Input: Given boundary condition (3.1). Output: Bicubic B-spline surface x(u,v) satisfying the sixth order PDE with the uniform knots. Step 1: Calculate the matrix H by (3.3). Step 2: Compute the matrix T(n−2)2 by (3.9). Step 3: Solve the linear system (3.2). Step 4: Generate the bicubic B-spline surface x(u,v) according to (2.1). |
Example 2. The known boundary control points (see Figure 2(a)) are taken from points on the catenoid
x(s,t)=(cosh(t)cos(s),cosh(t)sin(s),t), |
whose parameter intervals are [0,π] and [0,acosh(2)]. By Algorithm 1, the all the control points and the resulting surface with the uniform knots has been taken as Figure 2(b) and Figure 2(c) shows.
Example 3. The known boundary control points (see Figure 3(a)) are taken from points on the surface
x(u,v)=(usin(u)cos(v),ucos(u)cos(v),usin(v)), |
where (u,v)∈[0,π]×[0,2π]. The control points and the resulting surface with the quasi-uniform knots are obtained by Algorithm 2 (see Figure 3(b), Figure 3(c) and Figure 3(d)).
Algorithm 2 Construction of bicubic B-spline surface x(u,v) satisfying the sixth order PDE with the quasi-uniform knots |
Input: Given boundary condition (3.1). Output: Bicubic B-spline surface x(u,v) satisfying the sixth order PDE (1.3) with the quasi-uniform knots. Step 1: Compute ai,bi,ci,di,3≤i≤n by (3.16). Step 2: Compute ti,j(j=0,1,2,3) by (2.7), we get (3.6). Step 3: Compute the matrix H by (3.3). Step 4: Compute the matrix T(n−2)2 by (3.6). Step 5: Solve the linear system (3.2). Step 6: Generate the bicubic B-spline surface x(u,v) according to (2.1). |
Surface blending is a useful technique in CAGD and mesh reconstruction. According to condition (3.1), by the boundary interpolation property with the quasi-uniform knots, we can blend two bicubic B-spline surfaces along common boundary or four bicubic B-spline surfaces shared one point, if the boundary condition of them are selected properly. Since it is easy to implement, we will not show this type of examples here. As we know, for given four boundary curves only, we can't generate a single bicubic B-spline surface satisfying the sixth order PDE (1.3) to interpolate these boundary curves uniquely. Based on our proposed method (Algorithm 2), we can construct four piecewise bicubic B-spline surfaces to satisfy the sixth order PDEs with C1/G1 continuity to interpolate the given boundary curves. Furthermore, for given closed boundary curves, we can generate blending bicubic B-spline surfaces to satisfy the sixth order PDEs with C1/G1 continuity to interpolate whose boundary curves in the same way.
Example 4. In this example, we construct blending surface to satisfy the sixth order PDE (1.3) with C1 continuity interpolating given boundary curves. The idea of the method is: We split every boundary B-spline curve into two parts by knot insertion firstly (see Figure 4(a)). Then we assume two curves with one corner is the boundary of one patch of the resulting surfaces and we choose the other boundary condition according (3.1) for every of these surfaces, such that they satisfy C1 continuity (see Figure 4(b)). Next, we can obtain all the control points of every part by Algorithm 2 (see Figure 4(c)). Finally, four piecewise bicubic B-spline surfaces satisfying a sixth order PDE are generated, which satisfy C1 continuity and interpolate the initial given boundary curves (see Figure 4(e)).
Next, we will explain all the figure in detail. Figure 4(a) shows the initial given boundary curves, in which every boundary has been split into to two parts. We get boundary condition (in blue) and chosen boundary condition (in black) for one part for as Figure 4(b) shown, and then all the unknown control points for this part with the quasi-uniform knots are obtained in Figure 4(c) (in red) by Algorithm 2. And then, we get the remaining three sets of control points (see Figure 4(d)) similarly. The blending bicubic B-spline surfaces are constructed in Figure 4(e). This means the resulting four piecewise bicubic B-spline surfaces interpolate the four given boundary curves in Figure 4(a), and satisfy the sixth order PDE and C1 continuity.
Figure 4(f) shows the relations of all the control points in a grid of different color dots on the plane. The blue, cyan, yellow and green dots represents the control points of the initial given boundary curves. The black dots are selected by the C1 conditions of every two connected parts. The red dots are unknown control points, which can be obtained uniquely by Algorithm 2.
Example 5. Similar to the above example, we construct a closed blending surface from the initial given boundary closed curves in Figure 5(a). We split every boundary B-spline curve into two parts by knot insertion (seeFigure 5(a)), and then choose boundary conditions for these two parts by C1 continuity. Figure 5(b) shows the initial boundary condition and chosen boundary condition for one part. All the control points for this part with the quasi-uniform knots are obtained in Figure 5(c) by Algorithm 2. We get the other set of control points (see Figure 5(c)) similarly. Figure 5(d) and Figure 5(e) show the resulting piecewise bicubic B-spline surface satisfying the sixth order PDE with C1 continuity and interpolating initial boundary curves. From this example, we find that the asymmetry of boundary conditions brings more changes and flexibility to geometric modelings.
In this paper, we propose a method to generate bicubic B-spline surfaces by a class of sixth order PDE (1.3) with boundary conditions (3.1). The proposed method not only generalizes the triharmonic PDE surfaces, but also deepen the theory of the polynomial solutions for PDEs. Furthermore, if we choose some control points properly, then the C1/G1 piecewise bicubic B-spline surfaces satisfying the sixth order PDE (1.3) and the given boundary curves can be constructed by our method (see Figure 4(e) and Figure 5(e)). Compared with Bézier surface case, the surface based on bicubic B-spline is more stable and more suitable interactive design.
Note that the selection of some control points in Example 4 (see black dots in Figure 4(f)) and Example 5 can be fulfilled by energy, shape, or other constrains, together with C1/G1 continuity condition. This leads to solve a constrained optimization problem and we will consider this problem in the future.
The authors appreciate the valuable comments and suggestions from the anonymous reviewers, which improve the clarity of the paper. This work is partly supported by National Natural Science Foundation of China (Nos. 12071057, 11671068).
There are no conflicts of interest.
[1] | G. Farin, Curves and Surfaces for CAGD: A Practical Guide, Morgan Kaufmann, 2002. |
[2] |
M. I. G. Bloor, M. J. Wilson, Generating blend surfaces using partial differential equations, Comput. Aided Design, 21 (1989), 165-171. doi: 10.1016/0010-4485(89)90071-7
![]() |
[3] | M. I. G. Bloor, M. J. Wilson, Generating n-sided patches with partial differential equations, In: New advances in computer graphics, Springer-Verlag, Tokyo, 1989,129-145. |
[4] | M. I. G. Bloor, M. J. Wilson, Blend design as a boundary-value problem, In: Theory and practice of geometric modeling, Springer-Verlag, Berlin, Heidelberg, 1989,221-234. |
[5] |
M. I. G. Bloor, M. J. Wilson, Using partial differential equations to generate free-form surfaces, Comput. Aided Design, 22 (1990), 202-212. doi: 10.1016/0010-4485(90)90049-I
![]() |
[6] |
M. I. G. Bloor, M. J. Wilson, Spectral approximations to PDE surfaces, Comput. Aided Design, 28 (1996), 145-152. doi: 10.1016/0010-4485(95)00060-7
![]() |
[7] |
H. Ugail, M. I. G. Bloor, M. J. Wilson, Techniques for interactive design using the PDE method, ACM T. Graphic., 18 (1999), 195-212. doi: 10.1145/318009.318078
![]() |
[8] | C. Cosin, J. Monterde, Bézier surfaces of minimal area, In: Computational science-ICCS 2002, Springer-Verlag, Berlin, Heidelberg, 2002, 72-81. |
[9] | J. Monterde, The Plateau-Bézier problem, In: Mathematics of surfaces, Springer-Verlag, Berlin, Heidelberg, 2003,262-273. |
[10] |
J. Monterde, Bézier surfaces of minimal area: The Dirichlet approach, Comput. Aided Geom. D., 21 (2004), 117-136. doi: 10.1016/j.cagd.2003.07.009
![]() |
[11] | G. Xu, G. Z. Wang, Parametric polynomial minimal surfaces of degree six with isothermal parameter, In: Advances in geometric modeling and processing, Springer-Verlag, Berlin, Heidelberg, 2008,329-343. |
[12] |
G. Xu, G. Z. Wang, Quintic parametric polynomial minimal surfaces and their properties, Diff. Geom. Appl., 28 (2010), 697-704. doi: 10.1016/j.difgeo.2010.07.003
![]() |
[13] |
G. Xu, T. Rabczuk, E. Güler, Q. Wu, K. C. Hui, G. Wang, Quasi-harmonic Bézier approximation of minimal surfaces for finding forms of structural membranes, Comput. Struct., 161 (2015), 55-63. doi: 10.1016/j.compstruc.2015.09.002
![]() |
[14] |
J. Monterde, H. Ugail, A general 4th-order PDE method to generate Bézier surfaces from the boundary, Comput. Aided Geom. D., 23 (2006), 208-255. doi: 10.1016/j.cagd.2005.09.001
![]() |
[15] |
B. Jüttler, M. Oberneder, A. Sinwel, On the existence of biharmonic tensor-product Bézier surface patches, Comput. Aided Geom. D., 23 (2006), 612-615. doi: 10.1016/j.cagd.2006.05.003
![]() |
[16] |
M. I. G. Bloor, M. J. Wilson, Representing PDE surfaces in terms of B-splines, Comput. Aided Design, 22 (1990), 324-331. doi: 10.1016/0010-4485(90)90083-O
![]() |
[17] |
P. Kiciak, Bicubic B-spline blending patches with optimized shape, Comput. Aided Design, 43 (2011), 133-144. doi: 10.1016/j.cad.2010.10.003
![]() |
[18] | G. Arora, B. K. Singh, Numerical solution of Burgers' equation with modified cubic B-spline differential quadrature method, Appl. Math. Comput., 224 (2013), 166-177. |
[19] | M. Abbas, A. A. Majid, A. I. M. Ismail, A. Rashid, The application of cubic trigonometric B-spline to the numerical solution of the hyperbolic problems, Appl. Math. Comput., 239 (2014), 74-88. |
[20] | C. G. Zhu, R. H. Wang, Numerical solution of Burgers' equation by cubic B-spline quasiinterpolation, Appl. Math. Comput., 208 (2009), 260-272. |
[21] |
A. Kouibia, M. Pasadas, Optimization of the parameters of surfaces by interpolating variational bicubic splines, Math. Comput. Simulat., 102 (2014), 76-89. doi: 10.1016/j.matcom.2013.09.003
![]() |
[22] |
G. Farin, D. Hansford, Discrete Coons patches, Comput. Aided Geom. D., 16 (1999), 691-700. doi: 10.1016/S0167-8396(99)00031-X
![]() |
[23] |
X. Han, J. Han, Representation of piecewise biharmonic surfaces using biquadratic B-splines, J. Comput. Appl. Math., 290 (2015), 403-411. doi: 10.1016/j.cam.2015.05.025
![]() |
[24] | X. Han, J. Han, Bicubic B-spline surfaces constrained by the Biharmonic PDE, Appl. Math. Comput., 361 (2019), 766-776. |
[25] |
G. G. Castro, H. Ugail, P. Willis, I. Palmer, A survey of partial differential equations in geometric design, Visual Comput., 24 (2008), 213-225. doi: 10.1007/s00371-007-0190-z
![]() |
[26] | D. Lesnic, On the boundary integral equations for a two-dimensional slowly rotating highly viscous fluid flow, Adv. Appl. Math. Mech., 1 (2009), 140-150. |
[27] |
M. Kapl, V. Vitrih, Solving the triharmonic equation over multi-patch planar domains using isogeometric analysis, J. Comput. Appl. Math., 358 (2019), 385-404. doi: 10.1016/j.cam.2019.03.020
![]() |
[28] |
Y. Wu, C. G. Zhu, Construction of triharmonic Bézier surfaces from boundary conditions, J. Comput. Appl. Math., 377 (2020), 112906. doi: 10.1016/j.cam.2020.112906
![]() |
[29] |
L. H. You, P. Comninos, J. J. Zhang, PDE blending surfaces with C2 continuity, Comput. Graph., 28 (2004), 895-906. doi: 10.1016/j.cag.2004.08.003
![]() |
[30] |
J. J. Zhang, L. H. You, Fast surface modelling using a 6th order PDE, Comput. Graph. Forum, 23 (2004), 311-320. doi: 10.1111/j.1467-8659.2004.00762.x
![]() |
[31] |
M. Botsch, L. Kobbelt, An intuitive framework for real-time freeform modeling, ACM T. Graphic., 23 (2004), 630-634. doi: 10.1145/1015706.1015772
![]() |
[32] | D. Liu, G. L. Xu, A general sixth order geometric partial differential equation and its application in surface modeling, Journal of Information and Computational Science, 4 (2007), 129-140. |
[33] | Q. Zhang, G. L. Xu, J. Sun, A general sixth order geometric flow and its applications in surface processing, In: Proceedings of 2007 International Conference on Cyberworlds (CW'07), Hannover, 2007,447-456. |