POV-Ray : Newsgroups : povray.advanced-users : Tangent to two ellipses? : Re: Tangent to two ellipses? Server Time
28 Sep 2024 18:58:00 EDT (-0400)
  Re: Tangent to two ellipses?  
From: Le Forgeron
Date: 18 Oct 2010 02:59:18
Message: <4cbbf046$1@news.povray.org>
Le 18/10/2010 05:55, Tim Cook a écrit :
> On 2010-10-17 14:22, Le_Forgeron wrote:
>> let's a=2/2; /* half of 2 on x*/
>> let's b=1.4375/2; /* half of 1.4375 on y */
>>
>> Contact point (origin) is<x,y>  with
>> x = a cos(t)
>> y = b sin(t)
> 
> ehm...what value are you using for t here?  (it occurs to me that I
> should've been able to figure that out, how you find a point on an
> ellipse...use the same formulas as for a circle, but with different x
> and y radius values)
> 

Well t is anything in the range [0;2pi](modulo 2pi).
(or [-pi;pi]... and so on)


-- 
Real software engineers work from 9 to 5, because that is<br/>
the way the job is described in the formal spec.  Working<br/>
late would feel like using an undocumented external procedure.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.