Hi,
ist this a question ? an answer ? or what.
Any way, it is the most long winded way to test
the sign of
(x^2+y^2+z^2-(a^2+b^2))^2-4 a b (b^2-z^2)
if the point is {x,y,z} and the minor radius
of the torus is b, and the major radius a.
It is still the question "How can we make
this test more clumsy and even slower ?"
Regards
Jens