Restricts the polar angle phi to be between 0.000001 and pi - 0.000001.
Spherical makeSafe() { const eps = 0.000001; phi = math.max(eps, math.min(math.pi - eps, phi)).toDouble(); return this; }