Tangent spheres (source code)

= Tangent spheres

Two distinct <spheres> are externally tangent when their center distance equals the sum of their <radii>. They are internally tangent when it equals the absolute difference of their <radii>. At the point of contact they have the same tangent plane.