[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Intersection of two cylinders



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

    Does anyone know a fast algorithm to calculate the volume of the 
intersection of two cylinders, or wher eI might find one? All the examples I 
have so far been able to dig up through google requires some pretty 
heavy-duty number crunching just to get an approximation :(

    I need to me able to detect when, and by how much, two cylinders defined 
by a fixed point, a vector and a radius intersect as part of one of the 
calculations my game needs to do for a high energy vortex simulation..

Chris
- -- 
 .------{ http://www.starforge.co.uk }-----. .---------------------------.  
=[     Explorer2260, Designer and Coder     \=\ P: TexMaker, Draktar      \ 
=[_[ You will obey the corporate masters. ]_]==[ Stack: EEOeOeOeTmTmDD---- ]
- --
Good day to let down old friends who need help.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8kPKXtwxr0HXns0wRAh1uAKCwlXGxh/1adNlfAvsEn40jh0T7tgCgzy90
a8hcEgFV1s6AZd3VHkt9Asw=
=JtZq
-----END PGP SIGNATURE-----