Subject:
|
Re: Tangent between two circles in 3D space?
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Thu, 23 Jan 2003 18:22:04 GMT
|
Viewed:
|
888 times
|
| |
| |
"Kevin Clague" <kevin_clague@yahoo.com> skrev i meddelandet
news:H94xC1.11z@lugnet.com...
> In lugnet.cad.dev, Anders Isaksson writes:
> >
> > Line = Intersect(C1.Plane, C2.Plane)
> > if (Dist(C1.Center, Line) = C1.Radius) and (Dist(C2.Center, Line) =
> > C2.Radius) ...
>
> This looks great! This is what I was trying say the other day during my
> ah,hah! moment, but not so tersely. Now I just need to know how to calculate
> the intersection of the line and each circle...
If the condition above (Dist(...) etc.) holds, then it's just a matter of
projecting the circle centers onto the line, ie. solve for a new line
through the point, perpendicular to the original line.
I suppose I could find code for this at work (http://www.cej.se), but here
at home I try to think about other things :-)
--
Anders Isaksson, Sweden
BlockCAD: http://user.tninet.se/~hbh828t/proglego.htm
Gallery: http://user.tninet.se/~hbh828t/gallery/index.htm
|
|
Message is in Reply To:
| | Re: Tangent between two circles in 3D space?
|
| (...) This looks great! This is what I was trying say the other day during my ah,hah! moment, but not so tersely. Now I just need to know how to calculate the intersection of the line and each circle and I'll be all set I think. I'll do some (...) (22 years ago, 22-Jan-03, to lugnet.cad.dev)
|
21 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|