in reply to Re^3: Confused about 3D geometry / algebra
in thread Confused about 3D geometry / algebra

I have already implemented the fast sphere intersection test for my molecules, and I plan on making the acceptable distance between molecules user defined (so I can't be blamed as far as thats concerned;) ).

I will be reading up convex hulls, SVMs and linear programming today and see if I can put 2+2(+2?) together. :P

Thanks once again for your time,

Tom

  • Comment on Re^4: Confused about 3D geometry / algebra

Replies are listed 'Best First'.
Re^5: Confused about 3D geometry / algebra
by LanX (Saint) on Jun 04, 2010 at 15:55 UTC
    Good luck, you can of course search for all algorithms ... but IMHO thats fairly intuitive.

    A convex hull should be easily computed incrementally by adding one atom after the other to the former convex hull.

    Of course you need the bases in vector algebra like multiplication with normal vector of a plane to find the direction (inside or outside).

    And I think you can already restrict yourself to calculate the convex hull of the atoms within the intersection of the spheres to gain speed.

    UPDATE: In other words: If there are any separating planes, then there is for sure one which is a margin of the atoms in the sphere intersection.

    Cheers Rolf