Re: [Algorithms] Sphere to Triangle overlap check
Brought to you by:
vexxed72
From: Mark W. <wa...@in...> - 2010-07-30 14:27:12
|
Yes, you are indeed correct - my mistake. I'm thinking subtraction and writing addition. That's what I get for posting on my phone after midnight ;-) Thanks for setting me straight! Cheers, Mark On 31/07/2010, at 12:13 AM, Jon Watte <jw...@gm...> wrote: > I don't see where I claim otherwise? > You still need to subtract the edge from the hypotenuse, not add. > > Sincerely, > > jw > > > -- > Americans might object: there is no way we would sacrifice our living standards for the benefit of people in the rest of the world. Nevertheless, whether we get there willingly or not, we shall soon have lower consumption rates, because our present rates are unsustainable. > > > > On Thu, Jul 29, 2010 at 2:57 PM, Mark Wayland <wa...@in...> wrote: > Yes, but if the sphere is intersecting the plane then the plane fist is guaranteed to be smaller in magnitude than the radius, is it not? > > Cheers, > Mark > > > > On 29/07/2010, at 10:00 PM, Jon Watte <jw...@gm...> wrote: > >> >> That's still not right -- you need to subtract the square of the shorter edge! >> Assuming D is the distance from plane to sphere: >> R*R = D*D + X*X >> X = sqrt(R*R - D*D) >> >> (And, yes, I was not paying attention -- I already thought you were squaring the values) >> >> Sincerely, >> >> jw >> >> >> -- >> Americans might object: there is no way we would sacrifice our living standards for the benefit of people in the rest of the world. Nevertheless, whether we get there willingly or not, we shall soon have lower consumption rates, because our present rates are unsustainable. >> > > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > GDAlgorithms-list mailing list > GDA...@li... > https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-list |