[Gllug] Algorithm question

Peter Childs peterachilds at gmail.com
Tue Feb 27 07:16:21 UTC 2007


On 27/02/07, Greg McCarroll <greg at mccarroll.org.uk> wrote:
>
> On 27 Feb 2007, at 05:38, Greg McCarroll wrote:
>
> > I'm sure there is a better way, but I thought It couldn't hurt to
> > suggest
> > a whacky one (which may be wrong).
>
> Another general way (which may again be wrong/whacky) would be to take
> the set of points A that form the cube and the set of points B that form
> the cube and also include the additional point P and calculate the 3D
> convex hulls of both sets and compare.
>
> With the notion that if the sets are equal the point P is inside the
> solid. The problem with this is it depends on the algorithm whether or
> not P is included if it lies perfectly on the surface of the convex
> hull of the set of A.
>
> Again, 5:30, not looked at this stuff for ages, yadda yadda,
>
> G.
>
> --
> Gllug mailing list  -  Gllug at gllug.org.uk
> http://lists.gllug.org.uk/mailman/listinfo/gllug
>
>

I pritty sure there is a Python Module for this given that Blender is
written in Python..... Not sure about perl however...

Peter.
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list