To set a round dome on a square bay, imagine a sphere passing through the four corners of the square; cut it by the four vertical planes of the sides and by the horizontal plane of their crowns. The four spherical triangles left in the corners are the pendentives; the circle at their top carries the dome.
sphere radius R = S⁄√2; arches = sphere ∩ side planes (radius S⁄2); ring at h₀ + S⁄2 with radius S⁄2