• Aucun résultat trouvé

An example on approximation by fat arcs and fat biarcs

N/A
N/A
Protected

Academic year: 2021

Partager "An example on approximation by fat arcs and fat biarcs"

Copied!
4
0
0

Texte intégral

(1)

HAL Id: inria-00124253

https://hal.inria.fr/inria-00124253v2

Submitted on 15 Sep 2010

HAL is a multi-disciplinary open access

archive for the deposit and dissemination of

sci-entific research documents, whether they are

pub-lished or not. The documents may come from

teaching and research institutions in France or

abroad, or from public or private research centers.

L’archive ouverte pluridisciplinaire HAL, est

destinée au dépôt et à la diffusion de documents

scientifiques de niveau recherche, publiés ou non,

émanant des établissements d’enseignement et de

recherche français ou étrangers, des laboratoires

publics ou privés.

An example on approximation by fat arcs and fat biarcs

Jun-Hai Yong, Xiao Chen, Jean-Claude Paul

To cite this version:

Jun-Hai Yong, Xiao Chen, Jean-Claude Paul. An example on approximation by fat arcs and fat biarcs.

Computer-Aided Design, Elsevier, 2006, 38 (5), pp.515-517. �inria-00124253v2�

(2)
(3)

Let

q

K1

Z tg

K1

ðP

K1

Þ

y

KO

y

ðP

K1

Þ

x

KO

x





















Z 0:580;

q

0

Z tg

K1

ðP

0

Þ

y

KO

y

ðP

0

Þ

x

KO

x





















Z 0:203

and

q

1

Z tg

K1

ðP

1

Þ

y

KO

y

ðP

1

Þ

x

KO

x





















Z 0:206

be the unsigned angles between the x-axis and the line

segments OP

K1

, OP

0

and OP

1

, respectively.

We build a new polar coordinate system with the center

point being O and the pole axis being the ray starting from O

and passing through the point P

0

. Under the new polar

coordinate system, the curve t(a) becomes r(q), where the polar

radius is equal to the distance from t(a) to the new center point

O, i.e.

rðaÞ Z

ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi

e

0:2ð2pCaÞ

cosðaÞKO

x





2

C

e

0:2ð2pCaÞ

sinðaÞKO

y





2

q

;

and the polar angle is:

qðaÞ Z tg

K1

e

0:2ð2pCaÞ

sinðaÞKO

y

e

0:2ð2pCaÞ

cosðaÞKO

x





Cq

0

:

Let

q

K

Z q

K1

Kq

0

Z 0:377

and

q

C

Z q

0

C

q

1

Z 0:408:

Then the parametric domain of the curve segment r(q) from

P

K1

to P

1

is:

Q Z ½Kq

K

;q

C

 Z ½K0:377;0:408:

Thus, we have:

ðQ C q

K

ÞQðQKq

C

Þ Z ½K0:252;0:233:

For convenience, let r

0

(q), r

00

(q) and r

000

(q) be the first, the

second and the third derivatives of r(q) with respect to q,

respectively. Similarly, let r

0

(a), r

00

(a) and r

000

(a) be the first,

the second and the third derivatives of r(a)with respect to a,

respectively, and let q

0

(a), q

00

(a) and q

000

(a) be the first, the

second and the third derivatives of q(a) with respect to a,

respectively. We have

r

0

ðqÞ Z

r

0

ðaÞ

q

0

ðaÞ

;

r

00

ðqÞ Z

r

00

ðaÞ

ðq

0

ðaÞÞ

2

K

r

0

ðaÞq

00

ðaÞ

ðq

0

ðaÞÞ

3

;

and

y y 1 0 1 2 3 x –1 x –3 0 –2 2 O O P–1 P–1 P0 P0 P1 P1 q+ q q+ q– 4 (a) (b) 3

Fig. 1. The given curve t(a) (solid) and the circle (dashed).

3.58 3.6 –0.377 0.408 r (q ) –0.1 0.1 –0.377 0.408 r¢ (q ) (a) r (q ) (b) r¢ (q ) –0.3 0.3 –0.377 0.408 r¢¢ (q ) 0.6 0.8 –0.377 0.408 r¢¢¢ (q ) (c) r¢¢ (q ) (d) r¢¢¢ (q ) q q q q

Fig. 2. r(q) and its first three derivatives.

Table 1

Comparison of the new results with the results in[1]

Lines Results in[2] New results

4 P1Z ð5:511; 1:454Þ P1Z ð3:511;1:454Þ 6 lZ2.645 lZ2.745 7 b K1Z ðPK1Þy ðP0ÞxKðPK1ÞxZ 1:57 bK1Z tg K1 ðP0ÞyKðPK1Þy ðP0ÞxKðPK1Þx         Z 1:18 8 b 0ZðP0ðPÞxK1KðPÞy1ÞxZ 1:18 b0Z tg K1 ðP0ÞyKðP1Þy ðP0ÞxKðP1Þx       Z 1:57; 9 40Z pKb0Kb1Z 0:393 40Z pKb0KbK1Z 0:393 14 R000ðQÞZ½minKqK%q%qCrðqÞ; maxKqK%q%qCrðqÞ R 000ðQÞZ½min KqK%q%qCr 000ðqÞ; max KqK%q%qCr 000ðqÞ

15 r000is monotonically increasing r000(q) is increasing at the beginning, and then decreasing for the rest part of the curve

16 R000(Q)4[0.00434,0.00509] R000(Q)Z[0.586,0.796]

18 ðQC qKÞQðQKqCÞZ½0:251;0:233 ðQC qKÞQðQKqCÞZ½K0:252;0:233

20 [r0L,r0R]Z[3.585,3.589] [r0L,r0R]Z[3.554,3.618]

22–23 A fat curve of width 3.589K3.585Z0.004 A fat curve of width 3.618K3.554Z0.064 J.-H. Yong et al. / Computer-Aided Design 38 (2006) 515–517

(4)

r

000

ðqÞ Z

r

000

ðaÞ

ðq

0

ðaÞÞ

3

K

3r

00

ðaÞq

00

ðaÞ

ðq

0

ðaÞÞ

4

K

r

0

ðaÞq

000

ðaÞ

ðq

0

ðaÞÞ

4

C

3r

0

ðaÞðq

00

ðaÞÞ

2

ðq

0

ðaÞÞ

5

;

which are shown in

Fig. 2

(b–d), respectively.

As shown in

Fig. 2

(d), r

000

(q) is increasing only at the

beginning, and then monotonically decreasing for the rest part

of the curve, rather than monotonically increasing for the

whole curve segment as declared in

[2]

. Hence, the range of

r

000

(q) from P

K1

to P

1

is:

R

000

ðQÞ Z ½0:586;0:796:

Therefore, the radius range of the fat arc is

½r

0L

;r

0R

 Z r

0

C

1

3!

R

000

ðQÞðQ C q

K

ÞQðQKq

C

Þ

Z ½3:554;3:618

according to Formula (11) in

[2]

, and the width of the radius

range is 3.618K3.554Z0.064 rather than 0.004 given by

[2]

.

The comparison of the above results with those in

[2]

is

summarized in

Table 1

. In

Table 1

, the numbers in the ‘Lines’

column are the line numbers of the corresponding results in the

left column of Page 971 of

[2]

.

Acknowledgements

The research was supported by Chinese 973 Program

(2004CB719400) and the National Science Foundation of

China (60403047, 60533070). The first author was supported

by the project sponsored by a Foundation for the Author of

National Excellent Doctoral Dissertation of PR China

(200342), and a Program for New Century Excellent Talents

in University (NCET-04-0088).

References

[1] Chen X-D, Yong J-H, Zheng G-Q, Sun J-G. Automatic G1 arc spline

interpolation for closed point set. Comput Aided Des 2004;36(12): 1205–18.

[2] Lin Q, Rodne JG. Approximation by fat arcs and fat biarcs. Comput Aided Des 2002;34(13):969–79.

[3] Sederberg TW, White SC, Zundel AK. Fat arcs: a bounding region with cubic convergence. Comput Aided Geom Des 1989;6(3):205–18. [4] Yong J-H, Hu S-M, Sun J-G. A note on approximation of discrete data by

G1arc splines. Comput Aided Des 1999;31(14):911–5.

[5] Yong J-H, Hu S-M, Sun J-G. Bisection algorithms for approximating quadratic Be´zier curves by G1arc splines. Comput Aided Des 2000;32(4):

253–60.

Jun-Hai Yongis a faculty member in School of Software at Tsinghua University, China, since 2002. He received his BS and PhD in Computer Science from the Tsinghua University, China, in 1996 and 2001, respectively. He held a visiting researcher position in the Department of Computer Science at Hong Kong University of Science and Technology in 2000. He was a post doctoral fellow in the Department of Computer Science at the University of Kentucky from 2000 to 2002. His research interests include computer-aided design, computer graphics, computer animation, and software engineering.

Xiao Chenis a master student in the Department of Computer Science and Technology at Tsinghua University, China. His research interests are computer-aided design and computer graphics.

Jean-Claude Paulis a senior researcher at CNRS and INRIA (France), and currently visiting professor at Tsinghua University. He received his PhD in Mathematics from Paris University in 1976. His research interests include Numerical Analysis, Physics-Based Modeling and Computer-Aided Design.

Figure

Fig. 1. The given curve t(a) (solid) and the circle (dashed).

Références

Documents relatifs

 There are chances of Android may become the widely used operating system in world as it has found its application in many. appliances such as washing machine, microwave

The unwanted nine may be eliminated by wiring on the accounting machine control panel, atthe cost of tying up selector s (channel minus may be wired to the vacant positions, but

There are three phoneme types: phonemic segments (dened in the \Phonemes" section), oating tones (dened automatically based on the number of tones and optionally by

Virtual model control is a motion control language which uses simulationsof imagined mechanical components to create forces, which are applied through joint torques,

The reading for the affine variant, which admits Weakening for the multiplicative combination “,”, is obtained by changing the interpretation of the additive function type to say

(Note, though, that the number of training patterns seen before this maximum number of mistakes is made might be much greater.) This theoretical (and very impractical!) result (due

Whenever a new applica- tion such as a communications controller (see embedded system ) was developed, it typically had its own special- ized programming language.

In the subsequent papers, we apply the techniques developed to the moduli of stable quotients (cf. [23]) to obtain all genus invariants of massive theory of ( K P 4 , w ) [4]; we