• Non ci sono risultati.

B-spline surfaces on criss-cross triangulations for curve network interpolation

N/A
N/A
Protected

Academic year: 2021

Condividi "B-spline surfaces on criss-cross triangulations for curve network interpolation"

Copied!
9
0
0

Testo completo

(1)

Proceedings of the

15th International Conference on

Computational and Mathematical Methods

in Science and Engineering

Costa Ballena, Rota, Cádiz Spain

July

rd

-

th

,

CMMSE 2015

VOLUME I –II-III and IV

Editor: J. Vigo-Aguiar

Associate Editors:

). P. (amilton Canada , P. Kumam Thailand , J. Medina Spain ,

P. Schwerdtfeger New Zealand , T. Sheng USA ,

(2)

Proceedings of the 2015

International Conference on

Computational and Mathematical

Methods in Science and Engineering

Costa Ballena (Rota), Cádiz, Spain

July 6-10, 2015

Editors

J. Vigo-Aguiar

Associate Editors

I. P. Hamilton , B. Wade, P. Kumam, J. Medina,

P. Schwerdtfeger, T. Sheng, W. Sprößig

(3)

@CMMSE Preface- Page ii

ƒ Cover: Woman teaching geometry. Illustration of medieval

translation of Euclid's Elements.

ƒ ISBN 978-84-617-2230-3

ƒ Collection ISSN = 2312-0177

ƒ @Copyright 2015 CMMSE

ƒ Printed on acid-free paper

(4)

Proceedings of the 15th International Conference on Computational and Mathematical Methods in Science and Engineering, CMMSE 2015 6-10July, 2015.

B-spline surfaces on criss-cross triangulations

for curve network interpolation

Catterina Dagnino1, Paola Lamberti1 and Sara Remogna1

1 Department of Mathematics, University of Torino, via C. Alberto, 10 - 10123 Torino,

Italy

emails: catterina.dagnino@unito.it, paola.lamberti@unito.it, sara.remogna@unito.it

Abstract

This paper deals with the problem of interpolating a B-spline curve network, in order to create a surface satisfying such a constraint and defined by using bivariate C1 quadratic splines on criss-cross triangulations as blending functions. Such a surface exists and is unique.

Key words: interpolation, B-spline surface, curve network MSC 2000: 65D05, 65D07, 65D17

1

Introduction

In the literature, the interpolation of a curve network by a smooth parametric surface has been a well-studied problem since the second half of last century. Indeed it is easier and more intuitive to describe a complicated 3D free-form surface by creating a curve network than to directly manage surface control points.

Such an interpolation problem is faced up by considering different approaches, for ex-ample classical blending-function methods and interpolation of the curve mesh either by a smooth regularly parametrized surface with one polynomial piece per facet or by subdivision schemes.

We recall that, in general, most surface fitting methods fall into one of two categories: global or local methods. A global method represents a surface by a ready available expression on the whole parametric domain and it is generally obtained either by solving a system of equations or by other schemes, for instance the ones based on the quasi-interpolation, that

c

(5)

Curve network interpolation by B-spline surfaces

do not require to solve any system of equations. Instead, local methods are more geometric in nature, constructing the surface patch-wise, using only local data for each step and imposing the required smoothness patch by patch.

Moreover, it is well known that NURBS, based on rectangular patches, are a widely used computational geometry technology in CAGD, thanks to their many good properties, and tensor product B-spline surfaces are a specific kind of NURBS [2]. However, sometimes the above surfaces can create unwanted oscillations and some inflection points on the sur-face, due to their high coordinate degree. An example of tensor product B-spline surface interpolating a B-spline curve network is proposed in [2, Chap. 10]: it is obtained from a blending-function method, constructing three different surfaces expressed by means of B-spline functions belonging to different spaces, so that the bivariate resulting one is not defined on the rectangular grid associated to the knot vectors of the curve net, since a knot refinement is required.

NURBS on triangulations can avoid such unwanted oscillations, since they have a total degree lower than the one of NURBS based on rectangular patches. Therefore they can be very useful in CAGD (see e.g. [6]).

In this paper we want to combine the advantageous features of the above cited tech-niques, proposing a new global method, to generate a surface interpolating a B-spline curve network and using as blending functions bivariate B-splines on a criss-cross triangulation Tmn of the parametric domain. In particular, we consider C1 quadratic B-spline curve

net-works and we define a parametric surface that satisfies the above interpolation constraint and it is based on the B-spline functions spanning the space S21(Tmn) of all quadratic C1

splines on Tmn.

2

Construction of the C

1

quadratic B-spline surface

interpo-lating the curve network

Let {Pj(r)}n+1j=0, r = 0, . . . , m and {Q(s)i }m+1i=0 , s = 0, . . . , n, Pj(r), Q(s)i ∈ R3, be the control

points of the two sets of C1 quadratic B-spline curves φr(v) = n+1  j=0 Pj(r)Bj(v), r = 0, . . . , m, v ∈ [c, d] ⊂ R, ψs(u) = m+1  i=0 Q(s)i Bi(u), s = 0, . . . , n, u ∈ [a, b] ⊂ R. (1)

We assume that the curves (1) satisfy the following compatibility conditions:

C1. as independent sets, they are compatible in the B-spline sense, that is, all the ψs(u)

c

(6)

C. Dagnino, P. Lamberti, S. Remogna

are defined on a common parametric knot vector

U = {a = u−2 ≡ u−1≡ u0 < u1 <· · · < um ≡ um+1≡ um+2= b} (2)

and all the φr(v) are defined on a common parametric knot vector

V = {c = v−2 ≡ v−1 ≡ v0< v1 < · · · < vn≡ vn+1 ≡ vn+2= d}. (3)

In our notation the B-splines Bi(u) and Bj(v) have supports [ui−2, ui+1] and [vj−2, vj+1],

respectively [3, 4].

Moreover, we assume (ξi, vs), with

ξi = ui−1+ ui 2 , i = 0, . . . , m + 1 (4) and (ur, ηj), with ηj = vj−1+ vj 2 , j = 0, . . . , n + 1 (5) as the pre-image of Q(s)i for all s and P

(r)

j for all r, respectively. We recall that ξi and

ηj are known as Greville abscissae;

C2. φr(vs) = ψs(ur), r = 0, . . . , m, s = 0, . . . , n. We remark that, from (1), the number of

curve network control points is (m + 1)(n + 2) + (m + 2)(n + 1) and the number of constraints is (m + 1)(n + 1). Therefore, a curve network satisfying such a condition always exists and several control points can be arbitrarily chosen to define it.

Let Tmn be the criss-cross triangulation of the parameter domain Ω = [a, b] × [c, d],

based on the knots U × V , given in (2) and (3) and let Bmn = {Bij(u, v), (i, j) ∈ Kmn},

with Kmn = {(i, j) : 0 ≤ i ≤ m + 1, 0 ≤ j ≤ n + 1} be the collection of (m + 2)(n + 2)

bivariate B-splines [1, 3, 4, 5], spanning the space S21(Tmn), i.e. the space of all C1quadratic

splines whose restriction to each triangle of Tmn is a bivariate polynomial of total degree

two. It is well known that dim S21(Tmn) = (m + 2)(n + 2) − 1 [5].

By means of Bmn, we can define a C1 quadratic B-spline parametric surface of the form

S(u, v) = (Sx(u, v), Sy(u, v), Sz(u, v))T= m+1  i=0 n+1  j=0 CijBij(u, v), (u, v) ∈ Ω, (6)

interpolating the curve network (1). In order to do it, we have to get the control points Cij ∈ R3, i = 0, . . . , m + 1, j = 0, . . . , n + 1, whose pre-images in Ω are the points (ξi, ηj),

defined in (4) and (5), respectively. Thus, we interpret the curves (1) as isoparametric curves of S, i.e. we impose

S(ur, v) = φr(v), r = 0, . . . , m,

S(u, vs) = ψs(u), s = 0, . . . , n

c

(7)

Curve network interpolation by B-spline surfaces

and we deduce the following constraints that have to be satisfied by the surface control points {Cij}: σr+1Cr,j+ σr+1′ Cr+1,j= Pj(r), r= 1, . . . , m − 1, j = 1, . . . , n, τs+1Ci,s+ τs+1′ Ci,s+1 = Q(s)i , s = 1, . . . , n − 1, i = 1, . . . , m, Ci0 = Q(0)i , Ci,n+1= Q (n) i , i = 0, . . . , m + 1, C0j = Pj(0), Cm+1,j = P (m) j , j = 0, . . . , n + 1,

where, for 0 ≤ r ≤ m + 1 and 0 ≤ s ≤ n + 1, σr+1 = hrh+hr+1r+1, σ ′ r= hr−1 hr−1+hr, τs+1 =ksk+ks+1s+1, τ ′ s= ks−1 ks−1+ks, (7) with hr = ur− ur−1, ks = vs− vs−1 and h−1 = hm+2 = k−1 = kn+2 = 0 (when in (7) we

have 00, we set the corresponding value equal to zero).

Moreover, since the Bij’s are linearly dependent, by using the dependence relationship

[5], it is possible to prove that the surface S is unique and it can be expressed as a linear combination of the Bij’s, with coefficients depending only on the curve network control

points {Pj(r)}n+1j=0 and {Q(s)i }m+1i=0 . Indeed, it can be written in the form (6) with Cij = Γij+ (−1)i+jC11 hi h1 kj k1 , (8)

i = 1, . . . , m, j = 1, . . . , n, for any C11∈ R3, where

Γij = i−1  r=1 (−1)r+1(hi−r+ hi−r+1)hi hi−rhi−r+1 Pj(i−r)+ (−1)ihi h1 j−1  s=1 (−1)s(kj−s+ kj−s+1)kj kj−skj−s+1 Q(j−s)1 (9) and 0

ℓ=1· = 0. Furthermore, it is independent of the C11 choice and it also has the

following expression:

S(u, v) = Sb(u, v) + SΓ(u, v),

where Sb(u, v) = n+1  j=0  Pj(0)B0j(u, v) + Pj(m)Bm+1,j(u, v)  + m  i=1 

Q(0)i Bi0(u, v) + Q(n)i Bi,n+1(u, v)

 , SΓ(u, v) = m  i=1 n  j=1 ΓijBij(u, v), with Γij defined in (9).

Finally, we remark that, if the sequence of partitions {U × V } of Ω is A-quasi uniform (i.e. there exists a constant A ≥ 1 such that 0 < maxi,j{hi, kj}/ mini,j{hi, kj} ≤ A), then

the Cij generation process (8)-(9) is stable, because the round-off error growth is linear.

c

(8)

C. Dagnino, P. Lamberti, S. Remogna

3

An application

In this section we present an application and we verify that the surface (6) is unique and it is independent of C11 choice.

It is well known that the control points of a spline surface usually should give an idea of its shape and its possible symmetries. In (8)-(9) we obtain all control points of the spline surface interpolating the network (1) depending on the curve control points and on C11.

Then different choices of C11 lead to different surface control points, some of which do not

respect such shape property. However in this application we are not interested in the surface control point shape, because here we just want to underline the unicity of the surface (6), interpolating (1). For this reason in the following example we take two different C11 that

provide two quite different control point sets, but the same surface interpolating the curve network.

We consider m = 18, n = 4, the two knot vectors U = {ui}20i=−2, V = {vj}6j=−2, as

in (2) and (3), with ui = i, i = 0, . . . , 18 and vj = j, j = 0, . . . , 4 and the B-spline curve

network of type (1) shown in Fig. 1(a) with given control points {Pj(r)}5j=0, r = 0, . . . , 18 and {Q(s)i }19 i=0, s = 0, . . . , 4, P (r) j , Q (s) i ∈ R3.

The same quadratic spline surface (6), interpolating the above curve net and defined by the bivariate B-splines spanning S1

2(T18,4), is obtained both assuming C11 = (1.5, 1.5, 32)

(Fig. 1(b)) and assuming C11= (1, 0, 30) (Fig. 1(c)), as we have also numerically verified.

Moreover, we can note how very different are the surface control points corresponding to the different choiches of C11.

(a) (b) (c)

Figure 1: (a) The curve network and the surfaces S interpolating such a curve network with (b) C11= (1.5, 1.5, 32) and (c) C11= (1, 0, 30).

c

(9)

Curve network interpolation by B-spline surfaces

Acknowledgements

This work has been partially supported by the INdAM-GNCS Project 2015 “Modelli mate-matici e computazionali per la rappresentazione di geometrie complesse”. The authors also thank the University of Torino for its support to their research.

References

[1] C. Dagnino, P. Lamberti, On the construction of local quadratic spline

quasi-interpolants on bounded rectangular domains, J. Comput. Appl. Math. 221 (2008) 367–375.

[2] L. Piegl and W. Tiller, The NURBS Book, Second Edition, Springer, Berlin/ Heidelberg/ New York/ Barcelona/ Hong Kong/ London/ Milan/ Paris, 1995.

[3] P. Sablonni`ere, On some multivariate quadratic spline quasi-interpolants on bounded

domains, In: W. Hausmann & al. (Eds.), Modern developments in multivariate approx-imations, ISNM 145, Birkh¨auser Verlag, Basel (2003) 263–278.

[4] P. Sablonni`ere, Quadratic spline quasi-interpolants on bounded domains of Rd, d=

1, 2, 3, Rend. Sem. Mat. Univ. Pol. Torino 61 (2003) 229–246.

[5] R. H. Wang, Multivariate Spline Functions and Their Application, Science Press, Bei-jing/New York, Kluwer Academic Publishers, Dordrecht/Boston/London, 2001. [6] R. H. Wang and C. J. Li, A kind of multivariate NURBS surfaces, J. Comp. Math.

22(2004) 137–144.

c

Riferimenti

Documenti correlati

8X: genes identified in the 8X coverage genome sequence; DFCI v5: mRNA sequences identified in the DFCI gene index EST sequence repository version 5; v1: genes identified in the

La periostina sierica e quella misurata nell’espettorato sono risultate predittive dell’infiammazione eosinofilica, ma la forza dell’associazione è risultata

PSB galaxies represent 11.4 ± 0.8 per cent of the active population in clusters (Paccagnella et al. 2017 ), 5 ± 1 per cent of the active population in groups (6 ± 2 per cent if

Panella 2014 “A high temperature superconductor microwave filter working in C-band for the Sardinia Radio Telescope,” Journal of Astronomical Instrumentation, vol.. Huang

In this sense, the results expected by this work are mainly theoretical and oriented to enlighten the role of restoration outside the field of the physical preservation

 The  numerical  solution  qualitatively  follows  the  trend  to  a  plateau  but  does  not  reach  the  measured  value.  Indeed,  from  the  previous 

Nell’ottica di preservare questo enorme patrimonio culturale, si svolge uno studio finalizzato a valutare le condizioni di conservazione e la vulnerabilità sismica della Certosa

Negli ultimi anni sono stati identificati e studiati numerosi geni responsabili della trasmissione ereditaria del tumore della mammella, in particolare BRCA1 e BRCA2 per i