POV-Ray : Newsgroups : povray.advanced-users : Tangent to two ellipses? : Re: Tangent to two ellipses? Server Time
1 Jul 2024 05:44:34 EDT (-0400)
  Re: Tangent to two ellipses?  
From: Tim Cook
Date: 29 Oct 2010 00:33:10
Message: <4cca4e86$1@news.povray.org>
On 2010-10-28 18:06, Tim Cook wrote:
> Point P <c,d> on ellipse is <a*cos(T)+x,b*sin(T)+y>
>
> Tangent angle at P is:
> If major axis is along x, atan2(d,a/cos(T)-c)
> If major axis is along y, atan2(b/cos(90-T)-d,c)

err add x and y after using the point for the tangent calculations

-- 
Tim Cook
http://empyrean.freesitespace.net


Post a reply to this message

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