Sphere Touching a Line
For a sphere with centre $$c$$ and radius $$r$$, a line touches the sphere if the perpendicular distance from the centre to the line equals the radius:
$$d(C,\text{line})=r$$
Usage
- Used to test whether a line is tangent to a sphere.