PDA

Click to See Complete Forum and Search --> : Wossys, circle tangent MSN convo:


NoteMe
Mar 14th, 2005, 01:29 PM
First you have two circles. No matter what size:

http://vbforums.com/attachment.php?attachmentid=34753&stc=1


then draw a line between the center points of the circles:


http://vbforums.com/attachment.php?attachmentid=34754&stc=1


then rotate the line 90 deg.


http://vbforums.com/attachment.php?attachmentid=34755&stc=1


then scale it using the radius of THAT circle, so it hits the edge of the circle:

http://vbforums.com/attachment.php?attachmentid=34756&stc=1


then do the same with the other circle, and you have the two points.


Actualy you don't have to even scale it. Just use the rad in THAT direction.



ии

wossname
Mar 14th, 2005, 01:58 PM
That works when radius1 == radius2.

But when the circles are different sizes??

wossname
Mar 14th, 2005, 02:53 PM
http://mathworld.wolfram.com/Circle-CircleTangents.html

That looks workable.

Cheers for the help dude.