POV-Ray : Newsgroups : povray.general : Closest points on two circles : Re: Closest points on two circles Server Time
4 Aug 2024 22:10:41 EDT (-0400)
  Re: Closest points on two circles  
From: Edward Coffey
Date: 30 Mar 2003 23:05:29
Message: <3E87C1C0.7080301@alphalink.com.au>
Retsam wrote:
> Retsam wrote:
> 
>>You know, this has been bugging me, because it just seems like there's got
>>to be a way to do it with straight vector math, without resorting to
>>sin/cos parameterizations and taking partial derivatives (with respect
>>to each parameter) to find local minima.
>>
>>The best I've been able to come up with so far is this...
> 
> 
> 
> Okay, I think I may have a fast and much more accurate approach than most of
> the others mentioned.  First of all, it will be a numerical approximation
> approach, so no derivatives.

Thanks for the code, that's pretty much the approach I was looking at, 
but hadn't got around to implementing it yet.


Post a reply to this message

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