Just picturing in my head... model a sphere, then subtract ... ok scrub that, it's gonna take more work to explain it than model it.. here:
attached:
It could technically involve any amount of surface transitions, I chose to show a 90degree notch out, but of course any amount of rounding, that would not result in a hard edge, so not to show an additional line, could occur in the 'voids' I modeled.