• Aucun résultat trouvé

TR/04/90 March 1990 CONVEXITY OF BẺZIER NETS ON SUB-TRIANGLES John A. Gregory and Jianwei Zhou With minor revisions, November 1990. To appear in CAGD.

N/A
N/A
Protected

Academic year: 2021

Partager "TR/04/90 March 1990 CONVEXITY OF BẺZIER NETS ON SUB-TRIANGLES John A. Gregory and Jianwei Zhou With minor revisions, November 1990. To appear in CAGD."

Copied!
8
0
0

Texte intégral

(1)

TR/04/90 March 1990 CONVEXITY OF BẺZIER NETS ON SUB-TRIANGLES

John A. Gregory and Jianwei Zhou

With minor revisions, November 1990.

To appear in CAGD.

(2)

Convexity of Bẻzier Nets on Sub-triangles

by

John A. Gregory and Jianwei Zhou

Department of Mathematics and Statistics, Brunei University, Uxbridge, UB8 3PH, England

Abstract: This note generalizes a result of Goodman[3], where it is shown that the convexity of Bèzier nets defined on a base triangle is preserved on sub-triangles obtained from a mid-point subdivision process. Here we show that the convexity of Bèzier nets is preserved on and only on sub-triangles that are "parallel" to the base triangle.

1.Introduction

Let T be a triangle, called the base triangle (see [1]), with vertices V

1

,V

2

andV

3

. ( Here, and elsewhere in the paper, we assume that triangles are non-degenerate, that is, their vertices are not colinear.) Then each point P of the plane determined by V

1

,V

2

andV

3

.can be represented by its barycentric coordinates (u,v,w) with respect to the base triangle T as

(1) P = uV

1

+ vV

2

+ wV

3

, u+v+w = 1.

Denote f

n

as a set of (n+1)(n+2)/2 values

(2) f

n

= { f

ijk

R i + j + k = n i0, j0, k0, } .

-1-

(3)

The Bernstein polynomial of f

n

over T is then given by (3) ∑

= + +

=

n k j i

n ijk ijk

n

; u, v, w) f B (u, v, w) ,

B(f Where

(4)

ijkn

u

i

v

j

w

k

k!

j!

i!

w) n!

v, (u,

B =

are Bernstein basis functions. If we let shift operators E

1

, E

2

and E

3

with respect to T be defined by

(5) E

1

f

ijk

= f

i+1,j,k

, E

2

f

ijk

= f

i,j+1,k

, E

3

f

ijk

= f

i,j,k+1

, then the Bernstein polynomial can be represented symbolically as (6) B(f

n

; u, v, w) = (uE

1

+ vE

2

+ wE

3

)

n

f

000

.

Now we consider (n+l)(n+2)/2 points of T with barycentric coordinates (i/n,j/n,k/n), namely,

. n k j i , (k/n)V (j/n)V

(i/n)V

P

ijk

=

1

+

2

+

3

+ + =

Connecting

, P , P ,

P

i+1,j,k i,j+1,k i,j,k+1

we obtain a triangle, denoted U

ijk

for i+j+k=n-l. Similarly, a triangle W

ijk

is obtained for i+j+k=n+l with

1 k j, i, k 1, j i, k j, 1,

i

, P , P

P

as its vertices. A piecewise linear function L ( f

n

; u, v, w ) , or L ( ) f

n

for short, is defined on T such that it satisfies

(7) L ( f

n

; P

ijk

) = f

ijk

, i + j + k = n ,

and is linear on each triangle U

ijk

or W

ijk

. We call L ( f

n

; u, v, w ) the Bėzier net of f

n

. The approximation theory of Bernstein polynomials and their applications in CAGD, Computer-aided Geometric Design, indicate that the Bėzier net L ( f

n

) is closely related to

w) v, u,

;

B(f

n

and reflects certain features of B(f

n

; u, v, w ) . As this note is concerned with the convexity, we state the following results (see [1,2]):

-2-

(4)

Theorem 1 (i) If the Bėzier net L(f

n

;u,v,w) is convex with respect to T, so is the Bernstein polynomial B(f

n

; u, v, w) .

(ii) The Bėzier net L(f

n

; u, v, w) is convex with respect to T if and only if

(8)

⎪ ⎩

⎪ ⎨

+

≥ +

+

≥ +

+

≥ +

+ + + + +

+ +

+ + +

+ + + +

+ + + + + + +

, f

f f

f

, f

f f

f

, f

f f

f

1 k 1, j i, 1 k j, 1, i k 1, j 1, i 2 k j, i,

1 k 1, j i, k 1, j 1, i 1 k j, 1, i k 2, j i,

1 k j, 1, i k 1, j 1, i 1 k 1, j i, k j, 2, i

for i+j+k=n-2.

Using the shift operators, one may rewrite (8) as

(9) ( E

i1

E

i2

) ( E

i1

E

i3

) f

ijk

0 , i + j + k = n2 , for any permutation { i

1

, i

2

, i

3

} { of 1,2,3 } .

be the vertices of another triangle in the same plane as T and let

* 3

* 2

*

1

, V and V

V

Let T

*

(10) P= u

*

V

1*

+ v

*

V

2*

+ w

*

V

3*

, u

*

+ v

*

+ w

*

= 1 ,

define the barycentric coordinates ( u

*

, v

*

, w

*

) of P with respect to T

*

. Assume that V

i*

has barycentric coordinates (u

i

, v

i

, w

i

) with respect to T, that is,

(11) V

i*

= u

i

V

1

+ v

i

V

2

+ w

i

V

3

, u

i

+ v

i

+ w

i

= 1 for i=l, 2, 3. Then

(12)

⎪ ⎩

⎪ ⎨

+ +

=

+ +

=

+ +

=

. w w w v w u w

, v w v v v u v

, u w u v u u u

3

* 2

* 1

*

3

* 2

* 1

*

3

* 2

* 1

*

A Bernstein polynomial on T

*

is defined symbolically by (13) B ( f ; u , v , w ) ( u E v E w E ) f

000*

,

* n 3

*

* 2

*

* 1

*

*

*

*

*

n

= + +

Where

(14) f { f

i*jk

R i j k n, i 0, j 0, k 0 }

*

n

= ∈ + + = ≥ ≥ ≥

and E

*i

define the shift operators on T

*

. We then have:

Theorem 2 (Chang and Davis[l]) Let

(15) f

ijk*

= ( u

1

E

1

+ v

1

E

2

+ w

1

E

3

) (

i

u

2

E

1

+ v

2

E

2

+ w

2

E

3

) (

j

u

3

E

1

+ v

3

E

2

+ w

3

E

3

)

k

f

000

,

-3-

(5)

for i+j+k=n. Then B ( f

n*

; u

*

, v

*

, w

*

) is the Bernstein representation of B( ;u,v,w) with respect to

f

n

. T

*

Proof: From (12) and (15) we obtain, by equating coefficients,

( ) ( )

000

n 3 2 1

n

; u, v, w uE vE wE f

f

B = + +

( ) ( ) (

[ ]

000

n 3 3 2 3 1 3

* 3 2 2 2 1 2

* 3 1 2 1 1 1

*

u E v E w E v u E v E w E w u E v E w E f

u + + + + + + + +

= )

= ( )

000*

* n 3

*

* 2

*

* 1

*

E v E w E f

u + +

if and only if

( u E v E w E ) ( u E v E w E ) ( u E v E w E ) f .

f E E

E

*1i *2j *3k 000*

=

1 1

+

1 2

+

1 3 i

+

2 1

+

2 2

+

2 3 j

+

3 1

+

3 2

+

3 3 k 000

Remark In the above proof we note the identities (16) E

*i

= u

i

E

1

+ v

i

E

2

+ w

i

E

3

, i = 1,2,3 ,

where, in symbolic manipulation involving these operators, indices in operator expressions must sum to n and the operator expressions are applied to f

000*

= f

000

.

The set f

n*

determines a new Bezier net L ( f

n*

; u

*

, v

*

, w

*

) which is a piecewise linear function on T * . We call L ( ) f

n*

the restricted Bezier net of L(f

n

) on T

*

. Naturally, T

*

is called a sub-triangle of T if V

1*

, V

2*

and V

3*

, the vertices of T

*

are all inside or on the boundary of T.

In this case u

i,

v

i,

w

i

≥ 0, i = 1,2,3.

Let T

*

be a sub-triangle of T. Then if B ( f

n

; u, v, w ) is convex with respect to T, so is

( f

n*

; u

*

, v

*

, w

*

)

B with

respect to

One would ask whether or not a similar result holds for the Bėzier nets. Grandine[4] showed a negative result but in [3], Goodman shows that if is a

. T

*

T

*

sub-triangle obtained from a "mid-point" subdivision process, then the convexity of L(f

n

) does guarantee the convexity of the restricted Bėzier net L ( ) f

n*

with respect to . In the next section, we generalize this result and show that only a very limited class of sub-triangles have

T

*

the property of preserving the convexity of Bėzier nets.

-4-

(6)

2. Main Result

Let T

*

be a non-degenerate triangle that lies on the plane determined by the base triangle T. We say T

*

is parallel to T if each of the edges of T

*

is parallel to one of those of T. We now make the following definition:

Definition A non-degenerate sub-triangle T

*

is called "Bėzier net convexity preserving" if, for all Bėzier nets L(f

n

) that are convex with respect to T, the restricted Bėzier nets L ( ) f

n*

on T

*

are also convex with respect to T

*

Noting the barycentric coordinate representation of the vertices of T

*

with respect to T in (11), we have the following lemma.

Lemma The following statements are equivalent, (i) T

*

is parallel to T.

(ii) There exist a non-zero scalar ρ and a permutation { i

1

, i

2

, i

3

} of {1,2,3} such that (17) V

i*

V

i*

( V

1

V

2

), V

i*

V

i*

( V

3

V

1

), V

i*

V

i*

( V

2

V

3

).

3 2 1

3 2

1

− = ρ − − = ρ − − = ρ −

(iii) None of the sets { u

1

, u

2

, u

3

} { , v

1

, v

2

, v

3

} and { w

1

, w

2

, w

3

} has all distinct members.

Figure. Examples of parallel triangles

This lemma is illustrated by the two examples of parallel triangles labelled as shown in the -5-

figure. Property (ii) is simply a statement that the edges are parallel and property (iii) is a

(7)

restatement of this property in terms of the barycentric coordinates of V

i*

= u

i

V

1

+ v

i

V

2

+ w

i

V

3

, i = 1,2,3.

Thus, in the examples u

2

= u

3

, v

3

= v

1

and w

1

= w

2

. .

We now present our main theorem:

Theorem 3 Let T

*

be a non-degenerate sub-triangle of T. Then T

*

is Bėzier net convexity preserving if and only if it is parallel to T.

Proof: Suppose T

*

is parallel to T and let L(f

n

) be any Bėzier net that is convex with respect to T. Comparing (16) and (11), it follows by statement (ii) of the lemma that there exist a non-zero scalar ρ and a permutation { i

1

, i

2

, i

3

} of {1,2,3} such that

).

E ρ(E E

E ), E ρ(E E

E ), E ρ(E E

E

*i1

*i2

=

1

2 *i3

*i1

=

3

1 *i2

*i3

=

2

3

Thus, by (16), we have for i+j+k=n-2

( E E )( E E ) f E E E ( E E )( E E

*i

) f

*

000

* i

* i

* i k

* 3 j

* 2 i

* 1

* ijk

* i

* i

* i

*

i2

2 2

3

=

2

3 2

3

= ( ) ( ) ( ) (

1 2

)(

1 3

)

000

k 3 3 2 3 1 3 j 3 2 2 2 1 2 i 3 1 2 1 1 1

2

u E v E w E u E v E w E u E v E w E E E E E f

ρ + + + + + + − −

=

2 irst

(

1 1 1

)

αβγj

(

2 2 2

)

kλµν

(

3 3 3

)

k v µ λ i

t s

r α β y l

w , v , u B w v , u B w , v , u B

ρ

∑ ∑

= + +

= +

+ + + =

( E

1

− E

2

)( E

1

− E

3

) f

r+α+λ,δ+β+µ,t+y+ν

≥ 0 .

Similarly,

( E E )( E E ) f 0 , ( E E )( E E ) f

ijk*

0 .

* i

* i

* i

* i

* ijk

* i

* i

* i

*

i2

1 2

3

3

1 3

2

We therefore conclude that L ( ) f is convex with respect to T*.

n*

W e n ow suppose that . is not parallel to T. By statement (iii) of the lemma, at least one

of the sets { } , and

T

* 3 2 1

, u , u

u { v

1

, v

2

, v

3

} { w

1

, w

2

, w

3

} has all distinct members. Without loss of

generality, we assume u

2

> u

1

> u

3

≥ 0. Then we have

( u

1

u

2

)( u

1

u

3

) < 0.

Consider the situation where

-6-

(8)

(18) f

ijk

= δ

i,n1

, i + j + k = n ,

that is, f

n,0,0

= 1 and

f

ijk

=0 if i ≤ − 1 . Obviously, the Bezier net L ( ) f

n

defined by (18) is convex with respect to T. Using (15) we obtain

n k j i , u u u

f

ijk*

=

1i 2j 3k

+ + = Hence for i+j+k=n-2 we have

( )( ) (

1 2

)(

1 3

)

k 3 i 2 i i

* ijk

* 3

* 1

* 2

*

1

E E E f u u u u u u u

E − − = − −

and, particularly for n 2, ≥

( E

*i1

− E

*i2

)( E

*i1

− E

*i3

) f

0,*n2,0

= u

n22

( u

1

− u

2

)( u

1

− u

3

) < 0.

Thus the restricted Bėzier net L ( ) f

n*

is not convex with respect to T*.

Acknowledgements: This work was supported by the ACME Directorate of the Science and Engineering Research Council and by Siemens AG.

References

[1] Chang, G. and P.J.Davis(1984), The convexity of Bernstein polynomials over triangles, J.

Approximation Theory 40, 11-28.

|2] Dahmen, W. and C.A.Micchelli(1985), Convexity of multivariate Bernstein olynomials and box spline surfaces, Research Report RC 11176, T.J.Watson Research Center.

[3] Goodman, T.N.T.(1989), Convexity of Bėzier nets on triangulations, AA/899, Department of Mathematics and Computer Science, University of Dundee.

[4] Grandine, T.A.(1989), On convexity of piecewise polynomial functions on triangulations,

Computer Aided Geometric Design 6, 181-187.

-7-

Références

Documents relatifs

From the aforementioned discussion, we know that we can not tell the positive semidefiniteness of a symmetric matrix by its leading principal minors whereas we can do it for

Nonlocal operator, nonlocal function space, trace inequality, boundary value problem, heterogeneous localization, vanishing horizon.. Supported in part by

WATSON, Green functions, potentials, and the Dirichlet problem for the heat

Different approaches are used for flow control on the lower Stream, for messages coming upstream from the device driver, and on the upper Streams, for messages coming

The longterm goal of this project is to move away from the current model of storing similar and/or duplicate network information in multiple databases and to move to a

Once this constraint is lifted by the deployment of IPv6, and in the absence of a scalable routing strategy, the rapid DFZ RIB size growth problem today can potentially

&#34;Other special IPv6 addresses requiring specific considerations for global routing are listed in RFC

However when attention is divided at test two contrasting predictions are made: a distinctiveness account predicts an absence of a production effect as a result of the disruption