• No results found

Differential geometry of self-intersection curves of a parametric surface in R3

N/A
N/A
Protected

Academic year: 2020

Share "Differential geometry of self-intersection curves of a parametric surface in R3"

Copied!
25
0
0

Loading.... (view fulltext now)

Full text

(1)

Available online at http://scik.org

J. Math. Comput. Sci. 6 (2016), No. 6, 1108-1132 ISSN: 1927-5307

DIFFERENTIAL GEOMETRY OF SELF-INTERSECTION CURVES OF A

PARAMETRIC SURFACE IN R3

SOAD A. HASSAN1,∗, SAYED ABDEL-NAEIM BADR1,2

1Department of Mathematics, Assiut University, Assiut 71516, Egypt

2Department of Mathematics, University College, Umm Al-Qura University, Al-Qunfudah, KSA

Copyright c2016 Hassan and Badr. This is an open access article distributed under the Creative Commons Attribution License, which

permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Abstract.This paper presents algorithms for computing all the differential geometry properties of Frenet apparatus

of ”self-intersection curves of a parametric surface and the intersection curves of two parametric surfaces” inR3,

for transversal and tangential intersection. Some examples are given and plotted.

Keywords: geometric properties; Frenet frame; Frenet apparatus; self-intersection; surface-surface intersection;

transversal intersection; tangential intersection.

2010 AMS Subject Classification:53A25.

1.

Introduction

The intersection (also the self-intersection) problem is a fundamental process needed in model-ing complex shapes in CAD/CAM system. It is useful in the representation of the design of com-plex objects, in computer animation and in NC machining for trimming off the region bounded by the self-intersection curves of offset surfaces. It is also essential to Boolean operations nec-essary in the creation of boundary representation in solid modeling [18]. Self-intersections

Corresponding author

Received June 19, 2016

(2)

of a rational polynomial parametric surface are defined by finding pairs of distinct parameter values (u,v)6=S(p,q) such that S(u,v) =S(p,q) [21]. Once the shape’s offset goes beyond the local radius-of-curvature, a self-intersection is bound to occur in the offset. Other appli-cations could benefit from proper self-intersection detection and elimination as well. Another example, demonstrated herein, is the problem of creating a self-intersection-free metamorpho-sis between freeform curves [31]. The numerical marching method is the most widely used method for computing intersection curves inR3. The Marching method involves generation of

(3)
(4)
(5)

provide an algorithm for the evaluation of geometry properties for tangential intersections of two implicit surfaces inR3.

In this paper, we study the differential geometry properties of the intersection curves of two parametric surfaces and the Self-intersection curves of a parametric surface inR3.The intersec-tion can be transversally or tangentially. The type of intersecintersec-tion may vary point to point along the intersection curve. Finally some examples are given and plotted.

2.

Geometric preliminaries

Let us first introduce some notations and definitions. Bold letters such asa,Rwill be used for vectors and vector functions, respectively. The scalar product and cross product of two vectorsa

andcare expressed asha,cianda×c,respectively. The length of the vectoraiskak=pha,ai.

2.1. Differential geometry of the curves in R3. Let α: I ⊂R−→R3 be a regular curve in

R3with arc-length parametrization,

(2.1) α(s) = (x1(s),x2(s),x3(s))

The notations for differentiation of the curveαwith respect to the arc lengthsareα0(s) = ddsα, α00(s) = d

2 α

ds2,α000(s) = d 3

α

ds3. From the elementary differential geometry, we have

(2.2) α0(s) =t

(2.3) α00(s) =κn

(2.4) κ2(s) =α00,α00

wheret is the unit tangent vector andα00 is the curvature vector. The factor κ is the curvature andnis the unit principal normal vector. The unit binormal vectorbis defined as

(2.5) b(s) =t×n

The Frenet-Serret formulas alongα are given by

(6)

whereτ is the torsion which is given by

(2.7) τ = hb,α

000i

κ

provided that the curvature does not vanish.

2.2. Differential geometry of the parametric surfaces inR3. Assume thatR(u1,u2)is a reg-ular parametric surface withR1×R26=0,whereRr=

∂R

∂ur

(r=1,2)denote to the partial deriva-tives of the surfaceR. The unit normal vector field on the surfaceRis given by

(2.8) N= R1×R2

kR1×R2k

The coefficients of first fundamental form are given by

(2.9) gpq=Rp,Rq; p,q=1,2

The coefficients of second fundamental form are given by

(2.10) L11=hR11,Ni, L12=hR12,Ni, L22=hR22,Ni

Letur =ur(s),r=1,2 be functions in theu1u2-plane which defines a curve on the surfaceR

as

(2.11) α(s) =R(u1(s),u2(s)).

Then the fourth derivatives of the curveα are given by

(2.12) α0=R1u01+R2u02,

(2.13) α00=R11(u01)2+2R12u01u02+R22(u02)2+R1u001+R2u002,

(2.14) α000= R111(u01)3+3R112(u01)2u02+3R122u01(u20)2+R222(u02)3

(7)

(2.15) α(4)(s) = (u01)4R1111+ (u02)4R2222+4(u01)3u02R1112+6(u01)2(u02)2R1122

+4u01(u02)3R1222+6(u01)2u001R111+6(u02)2u002R222

+6(2u01u02u100+ (u01)2u002)R112+6(u001(u02)2+2u01u02u002)R122

+(3(u001)2+4u01u0001)R11+ (3(u002)2+4u02u0002)R22

+2(2u0001u02+3u001u002+2u10u0002)R12+u1(4)R1+u(24)R2

The projection of the curvature vector α00, the third order derivative vectorα000 and the fourth order derivative vectorα(4) onto the unit normal vector of the surfaceR, respectively are given by

(2.16)

α00, R1×R2

kR1×R2k

=L11(u01)2+2L12u01u02+L22(u02)2,

(2.17) α000,N= (u01)3hR111,Ni+3(u01)2u02hR112,Ni+3u10(u02)2hR122,Ni

+(u02)3hR222,Ni+3(u01L11+u02L12)u001+3(u01L12+u02L22)u002,

(2.18)

D α(4),N

E

= (u01)4hR1111,Ni+4(u01)3u02hR1112,Ni+6(u01)2(u02)2hR1122,Ni

+ (u02)4hR2222,Ni+4u01(u02)3hR1222,Ni+6(u01)2u001hR111,Ni

+6(u02)2u002hR222,Ni+6(2u10u02u001+ (u01)2u002)hR112,Ni

+6(u001(u02)2+2u01u02u002)hR122,Ni+3(u001)2L11+6u001u002L12

+3(u002)2L22+4(u01L11+u02L12)u0001 +4(u01L12+u02L22)u0002.

2.3. Self-intersection of a parametric surface. Self-intersection point pof a parametric sur-faceR=R(u1,u2);c1<u1<c2,c3<u2<c4is defined by finding two pairs of distinct param-eter values(γ12)6= (ν1,ν2)in theu1u2-plane, such that p=R(γ1,γ2) =R(ν1,ν2).[21].

Consider a surfaceR=R(u1,u2);c1<u1<c2,c3<u2<c4, which intersect it self at a curve (with arc length parametrization)α(s). Assume that(v1(s),v2(s)) and(w1(s),w2(s)) are two distinct paths in theu1u2-plane, defines the curveα(s)(see Fig. 2.1), then we can write

(2.19) α(s) =R(v1(s),v2(s)) =R(w1(s),w2(s)); (v1(s),v2(s))6= (w1(s),w2(s))

We can consider the surfaceR(u1,u2)as two distinct regular surfacesP(v1,v2)and Q(w1,w2) which intersect at the curveα(s),where

(8)

Thus the curveα(s)can be viewed as a curve on both surfaces as

(2.21) α(s) =P(v1(s),v2(s)) = (P

1,P2,P3),

α(s) =Q(w1(s),w2(s)) = (Q1,Q2,Q3).

According to (2.21), we can write

(2.22) Pj(v1(s),v2(s)) =Qj(w1(s),w2(s)); j=1,2,3.

FIGURE 1. Fig 2.1

3.

Transversal intersection

Assume that the surfaces (2.20) are intersecting transversally at the curve (2.21). 3.1. The unit tangent vector field. Differentiation (2.22) with respect tosyields

(3.1)

P11v01+P21v02=Q11w01+Q12w02,

P12v01+P22v02=Q21w01+Q22w02, P13v01+P23v02=Q31w01+Q32w02

Since the surfaceQ(w1(s),w2(s))is regulare, thene without loss of generality, we have

Ql1 Ql2 Qm1 Qm2

6

=0, {l,m} ⊂ {1,2,3}

The system (3.1) can be written as

(3.2) P

l

1v01+P2lv02=Ql1w01+Ql2w02,

(9)

(3.3) P1qv01+P2qv02=Qq1w01+Qq2w02, {l,m,q}={1,2,3}.

wherePij=Pij(v1(s),v2(s)) = ∂P

j

∂ui

,Qij=Qij(w1(s),w2(s)) =∂Q

j

∂ui

, i=1,2. Solving the coef-ficientsw01andw02from linear system (3.2) and substituting into (3.3)yields

(3.4) v01=v01, v02=−η

ζ

v01.

where

(3.5)

η=Qq1A12−Q2qA11−B12P1q, ζ =Qq1A22−Q2qA21−B12P2q,

Ai j =

Pil Pim

Qlj Qmj

, B12=

Ql1 Qm1

Ql2 Qm2

, i,j=1,2.

Since

(3.6)

2

i,j=1

gi jv0iv0j=1, gi j=Pi,Pj.

Substituting (3.4) into (3.6) yields

(3.7) v01=

ζ q

g11ζ2−2g12η ζ+g22η2

, v02= q −η

g11ζ2−2g12η ζ+g22η2

.

Differentiation (2.21) with respect tosyields

(3.8) t=α0(s) =P1v01+P2v02=Q1w01+Q2w02

The unit tangent vectorα0(s)can be obtain by substituting (3.7) into (3.8), as follows

(3.9) t= ζP1−ηP2

kζP1−ηP2k

.

Using (3.7), (3.8) and (3.9), we obtain

(3.10) v01= ζ

kζP1−ηP2k

, v02= −η

kζP1−ηP2k ; Using (3.8), (3.9) and (3.10), we obtain

(3.11) w01= ζA12−ηA22

B12kζP1−ηP2k

, w02= ηA21−ζA11

B12kζP1−ηP2k

(10)

The tangent vector field of the self-intersection curve of the surfaceR=R(u1,u2)is given by (3.12) t= ζR1(v1,v2)−ηR2(v1,v2)

kζR1(v1,v2)−ηR2(v1,v2)k

.

Using (3.10) and (3.11) we obtain

(3.13)

v01= ζ

kζR1(v1,v2)−ηR2(v1,v2)k

, v02= −η

kζR1(v1,v2)−ηR2(v1,v2)k

,

w01= ζA12−ηA22

B12kζR1(v1,v2)−ηR2(v1,v2)k

, w02= ηA21−ζA11

B12kζR1(v1,v2)−ηR2(v1,v2)k

,

where

(3.14)

η =A12Rq1(w1,w2)−A11Rq2(w1,w2)−B12Rq1(v1,v2), ζ =A22Rq1(w1,w2)−A21Rq2(w1,w2)−B12Rq2(v1,v2),

Ai j =

Rli(v1,v2) Rmi (v1,v2)

Rlj(w1,w2) Rmj(w1,w2)

, B12=

Rl1(w1,w2) Rm1(w1,w2)

Rl2(w1,w2) Rm2(w1,w2) .

3.2. Curvature and curvature vector. Assume that the intersection curveα(s)is given by (3.15) α(s) = (x1(s),x2(s),x3(s))

Then we have

(3.16) α

0(s) = (x0

1(s),x02(s),x03(s)), α000(s) = (x0001(s),x0002(s),x0003(s)), α00(s) = (x001(s),x002(s),x003(s)), α(4)(s) = (x(14)(s),x2(4)(s),x(34)(s)).

Since the curvature vector is perpendicular on the tangent vector, then we have (3.17)

h

x01 x02 x03

i h

x001 x002 x003

iT

=0

The projection of curvature vector fieldα00(s) of the curve (2.20) onto the unit normal vector fieldsN1= (N11,N12,N13)andN2= (N21,N22,N23)of both surfaces (2.21) are given by

(3.18)

h

N11 N12 N13

i h

x001 x002 x003

iT

= (v01)2L111+2v01v02L112+ (v02)2L122,

h

N21 N22 N23

i h

x001 x002 x003

iT

(11)

Solving the system (3.17)and (3.18) forx001,x200andx300,we obtain (3.19)     

x001 x002

x003

     =     

x01 x02 x03 N11 N12 N13

N21 N22 N23

   

−1

   

0

(v01)2L111+2v01v02L112+ (v02)2L221

(w01)2L211+2w01w02L212+ (w02)2L222

   

The curvature vector field α00(s) can be computed by using (3.12), (3.13) and (3.19). The curvatureκ is given by

κ2=α00,α00

The curvature and curvature vector of self-intersection curves of the surfaceR(u1,u2)are given by replacing the surfacesP(v1,v2)andQ(w1,w2)withR(v1,v2)andR(w1,w2),respectively. 3.3. Torsion and third order derivative. Since the intersection curve α(s) views as a curve on both surfaces (2.20), then the Eq. (2.13) satisfies on both surfaces thus

(3.20) α00= (v01)2P11+2v01v02P12+ (v02)2P22+v100P1+v002P2,

(3.21) α00= (w01)2Q11+2w01w02Q12+ (w02)2Q22+w100Q1+w002Q2.

Taking the cross product of both hand sides of (3.20) withP1andP2and projecting the results vector onto the surface normal vectorN1,we obtain

(3.22)

v001= |α

00,P

2,N1|

kP1×P2k

−(v01)2|P11,P2,N1|

kP1×P2k

−2v01v02|P12,P2,N1|

kP1×P2k

−(v02)2|P22,P2,N1|

kP1×P2k

,

v002= |P1,α

00,N

1|

kP1×P2k −(v

0

1)2

|P1,P11,N1|

kP1×P2k −2v

0

1v02

|P1,P12,N1| kP1×P2k −(v

0

2)2

|P1,P22,N1| kP1×P2k .

Taking the cross product of both hand sides of (3.21) withQ1andQ2and projecting the results vector onto the surface normal vectorN2,we obtain

w001 = |α

00,Q

2,N2|

kQ1×Q2k −(w

0

1)2

|Q11,Q2,N2| kQ1×Q2k −2w

0

1w02

|Q12,Q2,N2| kQ1×Q2k −(w

0

2)2

|Q22,Q2,N2| kQ1×Q2k ,

(3.23)

w002 = |Q1,α

00,N

2|

kQ1×Q2k −(w

0

1)2

|Q1,Q11,N2| kQ1×Q2k −2w

0

1w02

|Q1,Q12,N2| kQ1×Q2k −(w

0

2)2

|Q1,Q22,N2| kQ1×Q2k .

(12)

then we have

α0,α000=−κ2

Which can be written in the matrix form as

(3.24)

h

x01 x02 x03

i h

x0001 x2000 x0003

iT

=−κ2

The projection of the third order derivative α000(s)of the intersection curve α(s)onto the unit normal vector fields N1= (N11,N12,N13) and N2 = (N21,N22,N23) of both surfaces P(v1,v2)and

Q(w1,w2)are given by

(3.25)

h

N11 N12 N13

i h

x0001 x0002 x0003

iT

1,

h

N21 N22 N23

i h

x0001 x0002 x0003

iT

2,

where

(3.26)

ψ1= (v01)3hP111,N1i+3(v01)2v20 hP112,N1i+3v01(v02)2hP122,N1i

+(v02)3hP222,N1i+3v01v001L111+3(v001v02+v01v002)L112+3v02v002L122,

ψ2= (w01)3hQ111,N2i+3(w01)2w20 hQ112,N2i+3w01(w02)2hQ122,N2i

+(w02)3hQ222,N2i+3w01w001L211+3(w001w02+w01w002)L212+3w02w002L222.

Solving the system (3.25) and (3.25), we obtain

(3.27)     

x0001 x0002

x0003

     =     

x01 x20 x03 N11 N12 N13

N21 N22 N23

   

−1

   

−κ2

ψ1 ψ2      .

The third order derivative α000(s) can be computed by using (3.12), (3.18), (3.26) and (3.27). The torsionτis given by (2.7). The torsion and third order derivative of self-intersection curves of the surfaceR(u1,u2)are given by replacing the surfacesP(v1,v2)andQ(w1,w2)toR(v1,v2)

(13)

4.

Tangentially Intersection curves

Assume that the surfaces (2.20) are intersecting tangentially at a point p on the curve (2.21), then the unit surface normal vector fields of both surfaces are parallel to each other. in other words

(4.1) P1×P2

kP1×P2k =δ

Q1×Q2

kQ1×Q2k, δ =±1.

4.1. Tangential direction. Differentiation (2.22), with respect tosyields (4.2) P1jv01+P2jv02=Q1jw01+Q2jw20, j=1,2,3 wherePij=Pij(v1(s),v2(s)) =

∂Pj

∂ui

,Qij=Qij(w1(s),w2(s)) = ∂Qj

∂ui

, i=1,2

since the unit surface normal vector fields of both surfaces are parallel to each other, then the system (4.2) reduced to only two Eqs..Projecting the curvature vectorα00(s)onto the two unit normal vector fields of both surfaces and using (4.1), we obtain

α00, Q1×Q2

kQ1×Q2k

α00, P1×P2

kP1×P2k

Using (2.16) and (4.1), we obtain (4.3)

2

i,j=1

L2i jw0iw0j=δ 2

i,j=1

L1i jv0iv0j

where

L1i j =

Pi j,N1, L2i j=

Qi j,N2,

Assume that the system (4.2) reduced to

(4.4) P

l

1v01+Pl2v02=Ql1w01+Ql2w02,

Pm1v01+P2mv02=Qm1w10 +Qm2w02; {l,m} ⊂ {1,2,3},

then we have

(4.5)

w01 w02

 = 1 B12  

A12 A22

−A11 −A21

 

v01 v02

, B126=0 where

(4.6) Ai j =

Pli Pmi

Qlj Qmj

, B12=

Ql1 Qm1

Ql2 Qm2

(14)

Substituting (4.5) into (4.3) yields

(4.7) a11(v

0

2

v01)

2

+2a12(v

0

2

v01) +a22 =0; v

0

16=0, where

(4.8)

a11= (A12)2L211−2A12A11L122 + (A11)2L222 −δ(B12)2L111

a12=A12A22L211−(A11A12+A12A21)L212+A11A21L222 −δ(B12)2L112

a22= (A22)2L211−2A21A22L122 + (A21)2L222 −δ(B12)2L122 Solving (4.7) yield

(4.9) v

0

2

v01 =

−a12± p

(a12)2−a11a22

a11 .

In other words

(4.10) v02=λv01; λ = −a12± p

(a12)2a 11a22

a11

Sinceα0(s)is the unit tangent vector of the curveα(s)on the surfaceP(v1,v2),then we have

(4.11)

2

i,j=1

gi jv0iv0j=1, gi j =Pi,Pj

Substituting (4.10) into (4.11) yields

(4.12)

v01=q 1

g11+2g12λ+g22λ2

,

v02=q λ

g11+2g12λ+g22λ2

.

The unit tangent vector of the tangential intersection curves of the parametric surfacesP(v1,v2) andQ(w1,w2)can be obtained by

(4.13) t= P1+λP2

kP1+λP2k

.

(15)

Lemma 1. The point p is a branch point of the intersection curve,if∆>0and there is another intersection branch crossing the intersection curve at that point.

Lemma 2. The surfaces P(v1,v2) and Q(w1,w2) intersect at the point p and at its

neighbor-hood, if∆=0and(a11)2+ (a12)2+ (a22)26=0. (Tangential intersection curve).

Lemma 3. The point p is an isolated contact point of the surfaces P(v1,v2) and Q(w1,w2),if

∆<0.

Lemma 4. The surfaces P(v1,v2) and Q(w1,w2) have contact of at least second order at the

point p,if a11=a12=a22=0. (Higher-order contact point).

Using (4.5),(4.12) and (4.13), we obtain

(4.14) v01= 1

kP1+λP2k

, v02= λ

kP1+λP2k ;

Using(4.34)and(4.43), we obtain

(4.15) w01= A12+λA22

B12kP1+λP2k

, w02= −A11−λA21

B12kζP1−ηP2k

.

Then the tangent vector field of the tangential self-intersection curves of the surfaceR=R(u1,u2)

is given by

(4.16) t= R1(v1,v2) +λR2(v1,v2)

kR1(v1,v2) +λR2(v1,v2)k

,

(4.17)

v01= 1

kR1(v1,v2) +λR2(v1,v2)k

, v02= λ

kR1(v1,v2) +λR2(v1,v2)k

,

w01= A12+λA22

B12kR1(v1,v2) +λR2(v1,v2)k

, w02= −A11−λA21

B12kR1(v1,v2) +λR2(v1,v2)k

(16)

where

(4.18)

λ = −a12± p

(a12)24a 11a22

2a11 ,

a11= (A12)2L112 −2A12A11L212+ (A11)2L222−δ(B12)2L111,

a12=A12A22L211−(A11A12+A12A21)L212+A11A21L222−δ(B12)2L112,

a22= (A22)2L112 −2A21A22L212+ (A21)2L222−δ(B12)2L122,

Ai j=

Rli(v1,v2) Rmi (v1,v2)

Rlj(w1,w2) Rmj(w1,w2)

, L1i j=Ri j(v1,v2),N1

,

B12=

Rl1(w1,w2) Rm1(w1,w2)

Rl2(w1,w2) Rm2(w1,w2)

, L2i j=

Ri j(w1,w2),N2,

4.2. Curvature and curvature vector. Since the intersection curve views as a curve on both surfaces, then Eq. (2.13) satisfies on both surfaces thus

(4.19) (v01)2P11+2v01v02P12+ (v02)2P22+v001P1+v002P2

= (w01)2Q11+2w01w02Q12+ (w02)2Q22+w100Q1+w002Q2

Taking the cross product of both hand sides of (4.19) withQ1andQ2and projecting the resulting equations onto the surface normal vectorN2,we obtain

(4.20)

w002= |Q1,P1,N2|

kQ1×Q2kv

00

1+

|Q1,P2,N2| kQ1×Q2kv

00

2+

c11

kQ1×Q2k,

w001= |P1,Q2,N2|

kQ1×Q2kv

00

1+

|P2,Q2,N2| kQ1×Q2kv

00

2+

c12

(17)

where

(4.21)

c11= (v01)2|Q1,P11,N2|+2v01v20|Q1,P12,N2|+ (v02)2|Q1,P22,N2|

−(w01)2|Q1,Q11,N2| −2w01w02|Q1,Q12,N2| −(w02)2|Q1,Q22,N2|,

c12= (v01)2|P11,Q2,N2|+2v01v20|P12,Q2,N2|+ (v02)2|P22,Q2,N2|

−(w01)2|Q11,Q2,N2| −2w01w02|Q12,Q2,N2| −(w02)2|Q22,Q2,N2|.

Projecting the vectorα000(s)ontoN1andN2then using (4.1), we obtain

(4.22) δ(v01L111+v02L112)v001+δ(v01L112+3v02L122)v002

= (w01L211+w20L212)w001+ (w01L212+3w02L222)w002+c13

3 , where

(4.23) c13 = (w01)3hQ111,N2i+3(w01)2w02hQ112,N2i+ (w02)3hQ222,N2i

+3w01(w02)2hQ122,N2i −(v01)3hP111,N2i −(v02)3hP222,N2i −3v01(v02)2hP122,N2i −3(v01)2v20 hP112,N2i.

Since the curvature vector is perpendicular on the tangent vector, then we have

(4.24) (v01g11+v02g12)v001+ (v01g12+v20g22)v002=−

   

hP11,P1i(v01)3+hP22,P2i(v02)3

+(2hP12,P1i+hP11,P2i)(v01)2v02

+(2hP12,P2i+hP22,P1i)v01(v02)2),

   

We can computev001,v002,w001andw002by solving (4.20), (4.22) and (4.24).

The curvature vector and the curvature of the tangential intersection curves of the parametric surfacesP(v1,v2)andQ(w1,w2)can be computed by using (2.13) and (2.4) respectively.

The curvature and curvature vector of the tangential self-intersection curves of the surface

R(u1,u2)are given by replacing the surfacesP(v1,v2)andQ(w1,w2)toR(v1,v2)andR(w1,w2),

(18)

4.3. Torsion and third order derivative. The intersection curve views as a curve on both surfaces, then Eq. (2.14) satisfies on both surfaces thus

(4.25)        

(v01)3P111+3(v01)2v02P112

+3v01(v02)2P122+ (v02)3P222

+3v01v001P11+3(v001v02+v01v002)P12

+3v02v002P22+v0001P1+v0002P2,

        =        

(w01)3Q111+3(w01)2w02Q112

+3w01(w02)2Q122+ (w02)3Q222

+3w01w001Q11+3(w001w02+w01w002)Q12

+3w02w002Q22+w0001Q1+w0002Q2,

       

Taking the cross product of both hand sides of (4.25) withQ1andQ2and projecting the resulting equations onto the surface normal vectorN2,we obtain

(4.26)

w0002 = |Q1,P1,N2|

kQ1×Q2kv

000

1 +

|Q1,P2,N2|

kQ1×Q2kv

000

2 +

c14

kQ1×Q2k,

w0001 = |P1,Q2,N2|

kQ1×Q2kv

000

1 +

|P2,Q2,N2| kQ1×Q2kv

000

2 +

c15

kQ1×Q2k.

where

(4.27)

c14= (v01)3|Q1,P111,N2|+3(v01)2v02|Q1,P112,N2|+3v01(v02)2|Q1,P122,N2| −3w01(w02)2|Q1,Q122,N2|+3v01v100|Q1,P11,N2|+3v02v002|Q1,P22,N2|

+(v02)3|Q1,P222,N2| −3w01w001|Q1,Q11,N2| −3(w01)2w02|Q1,Q112,N2| −(w01)3|Q1,Q111,N2| −(w02)3|Q1,Q222,N2| −3w02w002|Q1,Q22,N2|

+3(v001v02+v01v002)|Q1,P12,N2| −3(w001w02+w01w200)|Q1,Q12,N2|,

c15= (v01)3|P111,Q2,N2|+3(v01)2v02|P112,Q2,N2|+3v01(v02)2|P122,Q2,N2|

+(v02)3|P222,Q2,N2|+3v01v001|P11,Q2,N2| −3(w01)2w02|Q112,Q2,N2|

+3v02v002|P22,Q2,N2| −3w01(w02)2|Q122,Q2,N2| −3w20w002|Q22,Q2,N2| −(w01)3|Q111,Q2,N2| −(w02)3|Q222,Q2,N2| −3w01w001|Q11,Q2,N2|

+3(v001v02+v01v002)|P12,Q2,N2| −3(w001w02+w01w200)|Q12,Q2,N2|,

Projecting the vectorα(4)(s)onto the two unit normal vector fields of both surfaces and using (2.18) and (4.1), we obtain

(4.28) (

w01L211+w02L212)w0001 + (w01L212+w02L222 )w0002

=δ(v01L111+v02L112)v0001 +δ(v01L112+v20L122)v0002 +c16

(19)

where

(4.29) c16= (v01)4hP1111,N2i+4(v01)3v02hP1112,N2i+6(v01)2(v02)2hP1122,N2i

+(v02)4hP2222,N2i+4v01(v02)3hP1222,N2i+6(v01)2v001hP111,N2i

+6(v02)2v002hP222,N2i+6(2v10v02v001+ (v01)2v002)hP112,N2i

+6(v001(v02)2+2v01v02v002)hP122,N2i+3δ(v001)2L111+6δv001v002L112

+3δ(v002)2L221 −(w01)4hQ1111,N2i −4(w01)3w02hQ1112,N2i −6(w01)2(w20)2hQ1122,N2i −(w02)4hQ2222,N2i −3(w001)2L211

−4w01(w02)3hQ1222,N2i −6(w10)2w001hQ111,N2i −6w001w002L212

−6(w02)2w002hQ222,N2i −6(2w01w02w001−(w01)2w002)hQ112,N2i −6(w001(w02)2−2w01w02w002)hQ122,N2i −3(w002)2L222

Since

α0,α000=−κ2

which can be written as (4.30)

(v01g11+v02g12)v0001 +(v01g12+v02g22)v0002 =−( κ2+ (v01)4hP111,P1i+3(v01)3v02hP112,P1i

+3(v01)2(v02)2hP122,P1i+v01(v02)3hP222,P1i

3(v01v02v001+ (v01)2v002)hP12,P1i+3(v01)2v001hP11,P1i

+3v01v02v002hP22,P1i+ (v01)3v02hP111,P2i

+3(v01)2(v02)2hP112,P2i+3v01(v20)3hP122,P2i

+(v02)4hP222,P2i+3v01v02v001hP11,P2i

+3(v001(v02)2+v01v02v002)hP12,P2i+3(v02)2v002hP22,P2i)

We can computev0001,v0002,w0001 andw0002 by solving (4.26), (4.28) and (4.30).

The third derivative vector and the torsion of the tangential intersection curves of two para-metric surfacesP(v1,v2)andQ(w1,w2)can be computed by using (2.14) and (2.7), respectively. The third derivative vector and the torsion of the tangential self-intersection curves of the surfaceR(u1,u2) are given by replacing the surfacesP(v1,v2)and Q(w1,w2)to R(v1,v2)and

(20)

5.

Examples

Example1. Consider the two parametric surfaces

(5.1) P= (1+sinv2,cosv2,v1)

Q= (2 cosw1cosw2,2 sinw1cosw2,2 sinw2)

FIGURE 2. Fig 5.1

Transversal intersection: Using (3.9) and (5.1), we obtain

(5.2) t= (cosv2sinwq2,−sinv2sinw2,−cosw2cos(v2+w1))

1−cos2w

2sin2(w1+v2)

.

Using (3.19) and (5.1), we obtain

(5.3) α00= (a1

a4, a2

a4, a3

(21)

where

(5.4)

a1= cosv2cos3(v2+w1)cos3w2+2 sinw1cos(v2+w1)cos4w2

−cosv2cos(v2+w1)cos3w2−2 sinw1cos(v2+w1)cos2w2

+cosv2cos(v2+w1)cosw2+2 sinv2cos4w2−4 sinv2cos2w2+2 sinv2

a2= −sinv2cos3(v2+w1)cos3w2−2 cosw1cos(v2+w1)cos4w2

−sinv2cos(v2+w1)cosw2+2 cosv2cos4w2−4 cosv2cos2w2

+sinv2cos(v2+w1)cos3w2+2 cosw1cos(v2+w1)cos2w2+2 cosv2

a3= sinw2

   

cos2(v2+w1)cos2w2−2 cosv2cosw2sinw1

−2 cosw1cosw2sinv2+2 cosv2cos3w2sinw1

+2 cosw1cos3w2sinv2−cos2w2+1

   

a4= 18

cos(2v2+2w1−2w2) +cos(2v2+2w1+2w2)

−2 cos 2w2+2 cos(2v2+2w1) +6

Using (3.21) and (5.1) we obtain

(5.5)     

x0001

x0002 x0003

     =      

cosv2sinw2

1−cos2w

2sin2(w1+v2)

−sinv2sinw2

1−cos2w

2sin2(w1+v2)

−cosw2cos(v2+w1)

1−cos2w

2sin2(w1+v2)

sinv2 cosv2 0

cosw1cosw2 sinw1cosw2 sinw2

      −1 ×       

−(a1)

2

+ (a2)2+ (a3)2 (a4)2

−3v02v002

3(w01)2w02sin 2w2−6w01w001cos2w2−6w02w002       

(22)

point,λ =±1. Using (4.13)and (5.1) at the pointp(2,0,0), we obtain

(5.6) t= (0,±√1

2, 1

2).

Using (4.20), (4.24), (2.4), (2.13) and (5.1) at the point p(2,0,0), we obtain

(5.7) n= (−1,0,0), κ= 12.

(5.8) b= (0,−1

2

2,±1

2

2)

Using (4.26), (4.28), (4.30), (2.7), (2.14) and (5.1) at the point p(2,0,0), we obtain

α000(s) = (0,±321√2,−329√2) τ =∓58. Example2: Consider the surface

(5.9) R(u1,u2) = (u1−u

3 1 3 +u1u

2

2,−u2−u21u2+

u32

3 ,u 2

1−u22); −5<u1,u2<5.

FIGURE 3. Fig 5.2

Let us find the Frenet vectors, the curvature and the torsion of the transversal self-intersection curve at the transversal self-intersection pointp(283√2,0,−7) =R(√2,3) =R(√2,−3)∈R(u1,u2).

Using (3.12) and (5.2) at the point p(283√2,0,−7),we obtain

(5.10) t= (5

9

3,0,−1

9

6).

Using (3.19), (2.4), (2.13) and (5.2) at the pointp(283√2,0,−7),we obtain (5.11) κn= (9721 √2,0,9725 ), κ =3241

(23)

Using (3.21), (2.7), (2.14) and (5.2) at the pointp(283√2,0,−7),we obtain

(5.12) α000= (−314 92823

3,0,−78 73211 √6), τ=0.

6.

Conclusion

Algorithms for computing all the differential geometry properties of, self-intersection curves of a parametric surface and the intersection curves of two parametric surfaces inR3, for

transver-sal and tangential intersection. This paper is an extension to the works of Ye and Maekawa (1999). They gave an example of implicit-parametric surfaces intersection and they computed the tangent vector field and refired to how obtain the curvature vector, the curvature, the tor-sion and the higher derivatives of the intersection curves by using they method. But this paper introduce a direct formulas to compute all the properties. The types of singularity on the inter-section curve are characterized. The questions of how to exploit and extend these algorithms to compute the differential geometry properties of intersection curves between three surfaces in

R4,can be topics of future research.

Conflicts of Interests

The authors declare that there is no conflict of interests.

REFERENCES

[1] E. Kruppa, Analytische und Konstruktive Differen-tialgeometrie, Springer, Wien, 1957.

[2] T. J.Willmore, An Introduction to Differential Geometry, Clarendon Press, Oxford, 1959.

[3] R. E. Barnhill, G. Farin, M. Jordan, and B. R. Piper. Surface/surface intersection. Computer Aided Geometric

Design, 4(1-2) (1987): 3-16.

[4] D. Lasser. Self-intersections of parametric surfaces. In Proceedings of Third International Conference on

Engineering Graphics and Descriptive Geometry: Volume 1, pages 322-331, Vienna, 1988.

[5] C. L. Bajaj, C. M. Hoffmann, J. E. Hopcroft and R. E. Lynch, “Tracing surface intersections,” Computer.

Aided Geometric Design, 5 (1988), No. 4, 285-307.

[6] C. M. Hoffmann. Geometric and Solid Modeling. Morgan Kaufmann, San Mateo, CA., 1989.

(24)

[8] Elber G, Cohen E. Error bounded variable distance offset operator for freeform curves and surfaces.

Interna-tional Journal of ComputaInterna-tional Geometry & Applications 1(1) (1991): 67-78.

[9] N. M. Patrikalakis, ”Surface-to-surface intersection,” IEEE Computer Graphics & Applications, 13 (1)

(1993), 89-95.

[10] P. Volino and N. M. Thalmann. Collision and self-collision detection: Efficient and robust solutions for highly

deformable surfaces. In D. Terzopoulos and D. Thalmann, editors, Computer Animation and Simulation’95,

pages 55-65. Springer-Verlag, 1995.

[11] Lee IK, Kim MS, Elber G. Planar curve offset based on circle approximation. Computer-Aided Design, 28(8)

(1996): 617-30.

[12] Wang Y. Intersection of offsets of parametric surfaces. Computer Aided Geometric Design 13(5) (1996):

453-65.

[13] S. Cohen, G. Elber and R. Bar-Yehuda. Matching of freeform curves. Computer-Aided Design, 29 (1997):

369-378.

[14] W. C. T. Maekawa and N. M. Patrikalakis. Computation of self-intersections of offsets of bezier surface

patches. Journal of Mechanical Design, ASME Transactions, 119(2) (1997): 275-283.

[15] Elber G. Global error bounds and amelioration of sweep surfaces. Computer Aided Design; 29(6) (1997):

441-447.

[16] L.-E. Andersson, T. J. Peters, and N. F. Stewart. Selfintersection of composite curves and surfaces. Computer

Aided Geometric Design, 15(5) (1998): 507-527.

[17] T. Samoilov and G. Elber. Self-intersection elimination in metamorphosis of two-dimensional curves. The

Visual Computer, 14 (1998): 415-428.

[18] Ye X. and Maekawa T., Differential geometry of intersection curves of two surfaces, Computer Aided

Geo-metric Design 16 (1999), 767-788.

[19] Ho C-C, Cohen E. Surface self-intersection. Mathematical methods for curves and surfaces: Oslo 2001. pp.

183-94.

[20] Wallner J, Sakkalis T, Maekawa T, Pottmann H, Yu G. Self-intersections of offset curves and surfaces.

Inter-national Journal of Shape Modeling 7(1) (2001): 1-21.

[21] Patrikalakis, N. M. and Maekawa, T., Shape Interrogation for Computer Aided Design and Manufacturing,

Springer-Verlag, Berlin, Heidelberg, New York. 2002.

[22] Elber G. Trimming local and global self-intersections in offset curves using distance maps. In: Proc. of the

10th IMA conference on the mathematics of surfaces. 2003. pp. 213-22.

[23] Thomassen, J.B., 2005. Self-intersection problems and approximate implicitization, in: Computational

(25)

[24] A. Galligo and J. P. Pavone. Self intersections of a B´ezier bicubic surface. Proc. of the International

Sym-posium on Symbolic and Algebraic Computation, 2005.

[25] J.-K. Seong, G. Elber and M.-S. Kim. Trimming local and global self-intersections in offset curves/surfaces

using distance maps. Computer-Aided Design, 38 (2006): 283-193.

[26] GAIA II. European project. http://www.sintef.no/static/AM/gaiatwo/.

[27] A. Galligo and J.-P. Pavone. A sampling algorithm for parametric surface selfintersection, Preprint, 2006.

[28] Diana Pekerman, Gershon Elber, and Myung-Soo Kim, Global Self-Intersection Detection and Elimination

in Freeform Curves and Surfaces with Applications in Metamorphosis, The 7th Korea-Israel Bi-National

Conference on Geometric Modeling and Computer Graphics, pp. 47-51, Seoul, Korea, January 29-30, 2007.

[29] Skytt V. Algorithms for finding the topology of complex surface selfintersections. In: The tenth SIAM

con-ference on Geometric Design and Computing. 2007.

[30] L. Buse ´, M. Elkadi, A. Galligo, Intersection and self-intersection of surfaces by means of Bezoutian

matri-ces, Computer Aided Geometric Design 25 (2008) 53-68.

[31] Diana Pekermana, Gershon Elberb, Myung-Soo Kimc, Self-intersection detection and elimination in freeform

curves and surfaces, Computer-Aided Design 40 (2008) 150-159.

[32] Gershon Elbera, Tom Grandine b, Myung-Soo Kimc, Surface self-intersection computation via algebraic

decomposition Computer-Aided Design 41 (2009) 1060-1066.

[33] Xiaohong Jia, Falai Chen, Jiansong Deng, Computing self-intersection curves of rational ruled surfaces,

Computer Aided Geometric Design 26 (2009) 287-299.

[34] M. A. Soliman, Nassar H. Abdel-All, Soad A. Hassan, Sayed Abdel-Naeim Badr (2011), Intersection Curves

of Implicit and Parametric Surfaces inR3,Applied Mathematics, 2 (8).1019-1026.

[35] Nassar H. Abdel-All, Sayed Abdel-Naeim Badr, M.A. Soliman, Soad A. Hassan., 2012. Intersection curves

References

Related documents

• Combine curves – create composite curves to simplify geometry for improved mesh creation. • Combine surfaces – create boundary surfaces to simplify geometry for improved

Theorem 2 If, at two points of a parabola, the angles between the position vectors and the tangent lines are equal to the angles between the tangent lines and the axis of the

[r]

Collaborative Supply Chain and Collaborative Manufacturing lead to complex systems that resort to Cloud Computing and Big Systems technologies.. Why O O O Ontologies

Not eligible Not eligible : Sample member responded to recruitment with information indicating they were no longer eligible to participate (no longer at the current

This study was conducted to assess the processing of green concrete by applying specified amounts of Horse-tail and Rice Husk residues ashes replacing portion

รอยละความพึงพอใจของบุคลากรที่มีตอการพัฒนาบุคลากร รายละเอียดโดยยอ พัฒนาดานการบริหารทรัพยากรบุคคล ภายในกรมเจาทา

In this paper we initiate the study of game chromatic number for Mycielskians and a game chromatic number analogue of Brooks’ Theorem (which characterizes graphs for which