Docsity

Circle-Circle Intersection: Finding the Equation and Coordinates of Intersection Points - , Study notes of Engineering

Toggle sidebar
bg1
CIRCLE-CIRCLE INTERSECTION
Surveying Engineering Department
Ferris State University
INTRODUCTION
The circle-circle intersection problem involves the solution of two quadratic equations
(Hashimi, 1988). Writing the equation of a circle for both circles, we have
()()
()()
0RkYhX
0RkYhX
2
2
2
2
2
2
2
1
2
1
2
1
=−−+−
=−−+−
where hi is the x-coordinate of the center of the circle and ki is the y-coordinate. Lets
designate the following
21
12
2
2
2
121
2
2
2
1
2
2
2
1
kkw
hhv
kkhh2hhRRu
−=
−=
+−−++−=
Then, expanding the equations defining the circles and solving them simultaneously, we
have the following quadratic form
(
)
(
)
(
)
0kRv4uYkv2uw4Yvw4 2
1
2
1
22
1
2222 =−−+−++
The solution is through the quadratic equation
a2
ac4bb
Y2−±−
=
where,
()
()
()
2
1
2
1
22
1
2
22
kRv4uc
kv2uw4b
vw4a
−−=
−=
+=
An example using this method is shown in the following MathCAD program.
5
pf3
pf4
pf5
pf8
pf9
pfa
pfd

Partial preview of the text

Download Circle-Circle Intersection: Finding the Equation and Coordinates of Intersection Points - and more Study notes Engineering in PDF only on Docsity!

CIRCLE-CIRCLE INTERSECTION

Surveying Engineering Department Ferris State University

INTRODUCTION

The circle-circle intersection problem involves the solution of two quadratic equations (Hashimi, 1988). Writing the equation of a circle for both circles, we have

( ) ( ) ( X h ) (Y k ) R 0

X h Y k R 0 2 2

2 2

2 2

2 1

2 1

2 1 − + − − =

where h (^) i is the x-coordinate of the center of the circle and k (^) i is the y-coordinate. Lets designate the following

1 2

2 1

2 2

2 1 2 1

2 2

2 1

2 2

2 1

w k k

v h h

u R R h h 2 hh k k

Then, expanding the equations defining the circles and solving them simultaneously, we have the following quadratic form

4 ( w 2 +v^2 )Y 2 + 4 (uw − 2 v^2 k 1 )Y +u^2 − 4 v^2 (R 12 −k 12 ) = 0

The solution is through the quadratic equation

2 a

b b 4 ac Y

− ±^2 −

where,

( ) ( ) (^22) ( 12 12 )

1

2

2 2

c u 4 v R k

b 4 uw 2 v k

a 4 w v

An example using this method is shown in the following MathCAD program.

CIRCLE-CIRCLE INTERSECTION PROBLEM

h 1 := 5 k 1 := 7 R 1 := 2 h 2 := 8 k 2 := 3 R 2 := 4

u :=R 12 − R 22 + h 12 + h 22 − 2 ⋅ h 1 ⋅h 2 − k 12 +k 22 v :=h 2 −h (^1) w :=k 1 −k 2

a := 4 ⋅(^ w^2 +v 2 ) b := 4 ⋅(u ⋅ w− 2 ⋅ v 2 ⋅k 1 ) c :=u 2 − 4 ⋅ v 2 ⋅(R 12 −k 12 )

First possible solution:

Y 1 −b + b 2 − 4 ⋅ a⋅c 2 ⋅a

:= Y^1 =6.

d :=(Y 1 −k 1 )^2 −R 12 e :=(Y 1 −k 2 )^2 −R 22

X 1

h 22 − h 12 − d+e 2 ⋅v

:= X^1 = 7.

Second possible solution:

Y 2 −b − b 2 − 4 ⋅ a⋅c 2 ⋅a

:= Y 2 =5.

c :=( Y 2 −k 1 )^2 −R 12 d :=(Y 2 −k 2 )^2 −R 22

X 2

h 22 − h 12 − c+d 2 ⋅v

:= X 2 =4.

Y Y R cosAz 3 4 cos 345 27 ' 42 "

X X R sinAz 8 4 sin 345 27 ' 42 "

o P O 2 OP

o P O 2 OP

1 2 21

1 2 21

As a check, inverse between P 1 and O 1. This should equal the radius of circle 1.

(X (^) P 1 −XO 1 )^2 +(Y (^) P 1 −YO 1 )^2 = ( 7. 00 − 5 ) 2 +( 6. 87 − 7 )^2 = 2. 00 =R 1

Since there are two points of intersection for this problem, we do the same for the triangle O 1 O 2 P 2.

Lets look at a more complex problem to the circle-circle intersection problem. This one involves the intersection of two horizontal curves. The following data is given:

Curve #1 XPC = 5097.362 YPC = 4560. Forward azimuth of back tangent: 198° 20’ 50” Tangent distance = 111. Central angle (∆) = 50° 58’ 52” Curve is concave left Curve #2 XPT = 5094.346 YPT = 4081. Forward azimuth of back tangent: 198° 40’ 38” Tangent distance = 221. Central angle (∆) = 29° 20’ 33” Curve is concave left

The problem is to find the following:  The coordinates of the point of intersection of the two circles  The coordinates of the center of the two circles  The arc length from the PCs of both circles to the point of intersection  The distance and azimuth from the PCs of both circles to the point of intersecetion  The central angle from both PCs to the point of intersection.

The first order is to compute the missing elements of both horizontal curves. For curve #1:

( )

tan^5058 '^52 "

tan

T

T Rtan 2 R = o = ∆

Az (^) PC −O= AzPC−PI− 90 O= 198 O 20 ' 50 "− 90 O= 108 O 20 ' 50 "

( )

Y Y RsinAz 4560. 280 234. 4427 cos( 108 20 ' 50 ")^4486. 4833

X X RsinAz 5097. 362 234. 4427 sin 10820 ' 50 " 5319. 8871

o O PC PCO

o O PC PCO

−

−

Az (^) O −PT= AzO−PC−∆=( 288 o 20 ' 50 ") −( 50 o 58 ' 52 ") = 237 o 21 ' 58 "

Then the distance between the two centers of the circles can be computed using the Pythagorean Theorem while the azimuth can be determined using the arctangent function.

The angle measured at the center of circle #2 is found using the cosine law.

The angle at the center of circle 1 (β) is also found using the cosine law.

( ) ( )

[( ) ( )]

  1. 7024

D X X Y Y

2 2

2 O O

2 O 1 O 2 O 2 O 1 2 1

tan Y Y

X X

Az tan

o

1 O O

1 O O OO 2 1

2 1 1 2

=

( ) ( ) ( ) ( )( )

138 58 ' 58. 4 "

cos 2 D R

D R R

cos

o

2 2 2

OO 2

2 2

2 1

2 1 OO 1 2

1 2

α = −

The coordinates of the point of intersection can now be determined after computing the azimuth from the origin of the second circle to the point of intersection.

As a check, compute the coordinates of the point of intersection from the center of circle #1. Again, the azimuth between O 1 and P must be determined first.

Using basic principles from horizontal curve geometry the other desired elements of this problem can be found. The degree of curve (D) is computed using the arc-definition.

The central angle (δ) from the PC to point P is found as follows.

The chord distance (c) from the PC to point P can also be easily calculated.

( ) ( ) ( ) ( )( )

138 58 ' 58. 4 "

cos 2 D R

D R R

cos

o

2 2 2 1 OO 2

2 2

2 1

2 1 OO 1 2

1 2

β = − −

Az (^) O 2 P=AzO 2 O 1 −α=( 292 o 21 ' 04. 5 ") −( 10 o 29 ' 40. 8 ") = 281 o 51 ' 23. 7 "

( )

Y Y R cosAz 4237. 8909 844. 7232 cos( 281 51 ' 23. 7 ") 4411. 450

X X R sinAz 5924. 4767 844. 7232 sin 28151 ' 23. 7 " 5097. 776

o P O 2 OP

o P O 2 OP

2 2

2 2

Az (^) O 1 P =AzO 1 O 2 +β=( 112 o 21 ' 04. 5 ") +( 138 o 58 ' 58. 4 ") = 251 o 20 ' 02. 9 "

( ) ( )

Y Y R cosAz 4486. 4833 234. 4427 cos( 251 20 ' 02. 9 ") 4411. 450 (check )

X X R sinAz 5319. 8871 234. 4427 sin 25120 ' 02. 9 " 5097. 776 check

o P O 1 OP

o P O 1 OP

1 1

1 1

2 R

D

2 R

D

o o

2

o 2

o

o

1

o 1

^ =

π

π

π

π

( ) ( )

Az Az ( 288 40 ' 38 ") ( 28151 ' 23. 7 ") 6 49 ' 14. 3 "

Az Az 28820 ' 50 " 25120 ' 02. 9 " 37 00 ' 47. 1 "

O O O PCP OPC OP

o o o PCP OPC OP

2 2 2 2

1 1 1 1

δ = − = − =

δ = − = − =

The diagram of this problem follows:

Recognizing that the radius of a horizontal curve is found using the relationship

tan

T

R

= , then the radii of the two curves are calculated to be:

tan

R

tan

R

(^2) o

(^1) o

To compute the coordinates of the origin of circle #1, first compute the azimuth between the PT and the origin. Then the coordinates can be found using the formula to transform the polar coordinates to rectangular. These steps are as follows:

( ) ( )

Az Az 90 ( 135 34 ' 21 ") 90 225 34 ' 21 "

Az Az 34149 ' 54 " 2615 ' 33 " 315 34 ' 21 "

o o o o PTO PTPI

o o o PIPT PCPI 1

11 1 1

1 1 1 1

( )

Y Y R cosAz 5090. 944 346. 1969 cos( 225 34 ' 21 ") 4848. 6040

X X R sinAz 5542. 034 346. 1969 sin 22534 ' 21 " 5294. 8021

o O PT 1 PTO

o O PT 1 PTO

1 1 11

1 1 11

The coordinates of the origin of curve #2 can be computed directly.

The distance between the centers of both horizontal curves is found using the Pythagorean theorem while the azimuth is determined using the arctangent function.

The angle, α, measured at the center of curve #1 between the center of curve #2 and the point of intersection P is calculated using the cosine law.

In a similar fashion, the angles β and γ can also be computed with the result that all of the angles being known within the triangle O 1 O 2 P.

( )

Y Y R cosAz 4911. 8798 508. 2163 cos ( 213 31 ' 06 ") 4488. 1744

X X R sinAz 5804. 344 508. 2163 sin 21331 ' 06 " 5523. 7050

o 0 PC 2 PCO

o 0 PC 2 PCO

2 2 2 2

2 2 2 2

( ) ( )

[( ) ( )]

tan Y Y

X X

Az tan

D X X Y Y

1 o O O

1 O O oo

(^2212)

2 O O

2 OO O O

2 1

2 1 12

1 2 2 1 2 1

^ =

− −

( ) ( ) ( ) ( )( )

42 20 ' 59. 6 "

cos 2 D R

D R R

cos

o

2 2 2 1 OO 2

2 1

2 2

2 1 OO 1 2

1 2

α = − −

Finally, compute the coordinates of the PC for curve #1. With this known, then the azimuths and chord distances from the two PCs can be simply computed using the arctangent function and the Pythagorean theorem.

With the coordinates of both PCs and the point of intersection known, compute the azimuths and distances to P from each PC.

( ) ([ ) ]

( ) ([ ) ] 209. 222 180

c' R 508. 2163 2335 ' 14. 7 "

c' R 346. 1969 542 ' 57. 4 "

o o PCP 2 PCP

o

o PCP 1 PCP

2 2

1 1

= δ = π =

= δ = π =

( )

Y Y R cosAz 4848. 6040 346. 1969 cos( 71 49 ' 54 ") 4956. 552

X X R sinAz 5294. 8021 346. 1969 sin 7149 ' 54 " 5623. 739

o PC O 1 OPC

o PC O 1 OPC

1 1 1 1

1 1 1 1

( ) ( ) [( ) ( )]

  1. 523

D X X Y Y 5611. 352 5623. 739 4988. 776 4956. 552

tan Y Y

X X

Az tan

(^2212) P PC

2 PCP P PC

1 o P PC

1 P PC PCP

1 1 1

1

1 1

( ) ( ) [( ) ( )]

  1. 748

D X X Y Y 5611. 352 5804. 344 4988. 776 4911. 879

tan Y Y

X X

Az tan

(^2212) P PC

2 PCP P PC

1 o P PC

1 P PC PCP

2 2 2

2

2 2