Volumes of solids of known cross-section