The Mathematics of the Ideal Dome