For the cylinder sphere part there is an article from JGT about Point Cylinder Distance (with code)
see http://www.acm.org/jgt/papers/BarbierGalin04/

[snip]
I'll check and see how it performs.

These seems to be working perfectly. Note that is that the Cylinder::R() returns the squared distance, which is not obvious from the documentation.

Regards,
/Marcus


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to