|
|
On Tue, 25 Mar 2003 08:47:08 -0500, "Greg M. Johnson" <gregj:-)565### [at] aolcom>
wrote:
> To get the vector for spheres:
>
> #declare centerA=<10,5.0,-5.50>;
> #declare radiusA=3.1415;
> #declare centerB=<1.0,-45.0,15.50>;
> #declare radiusB=0.1415;
>
> #declare 1stpoint= centerA+ radiusA*vnormalize(centerB-centerA);
> #declare 2ndpoint= centerB+ radiusB*vnormalize(centerA-centerB);
>
> Then the vector in question is between 1stpoint and 2ndpoint.
No. Being in 2D consider circle located at <0,0> with radius 2 and circle
located at <3,0> with the same radius 2. Closest points between circles are
located in intersections which are not between centers.
ABX
Post a reply to this message
|
|