next up previous contents
Next: Intersection of a line Up: PMT-Reflector Geometry Previous: PMT-Reflector Geometry   Contents

Intersection of a line with a sphere

Assuming that the sphere is centred at the origin, the equation of the sphere is $\underline{r}^2 = a^2$, where $a$ is the radius of the sphere. Intersecting this with a straight line will give a quadratic in $t$ whose solutions are:


\begin{displaymath}
t = -(\underline{u}.\underline{R})\pm \sqrt{(\underline{u}.\underline{R})^2 - (\underline{R}^2 - a^2)}
\end{displaymath} (13.1)

The (unnormalised) normal to a sphere, centred on the origin is simply the vector $\underline{R}$.



sno Guest Acct 2009-09-09