Re: Sphere to Triangle overlap check

Jon Watte <[email protected]> Fri, 30 Jul 2010 07:13:26 -0700
Newsgroups gmane.games.devel.algorithms
Message-ID <[email protected]>
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 <[email protected]>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 <[email protected]> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-list