Sphere center from three tetrahedron face distances

ID: sphere-center-from-three-tetrahedron-face-distances

For a positively oriented basis , put . The center of an interior sphere at distance from each of the three tetrahedron face planes through the origin has the displayed expression. The three inward unit vectors are the normalized cross products , , . Taking inner products with these vectors solves three independent signed-distance equations. Reversing some signs instead produces centers on exterior sides. Existence of a sphere contained in the full tetrahedron also requires clearance from the fourth face.

New to topics? Read the docs here!