Multifocal lenses comprising progressive power surfaces are commonly used in contact and intraocular lens designs. Given a visual performance metric, a wavefront engineering approach to design such lenses is based on searching for the optimal wavefront at the exit pupil of the eye. Multifocal wavefronts distribute the energy along the different foci thanks to having a varying mean curvature. Therefore, a fundamental step in the wavefront engineering approach is to generate the wavefront from a prescribed mean curvature function. Conventionally, such a thing is done by superimposing spherical wavefront patches and maybe adding a certain component of spherical aberration to each spherical patch in order to increase the depth-of-field associated with each focus. However, such a procedure does not lead to smooth wavefront solutions and also restricts the type of available multifocal wavefronts. We derive a new, to the best of our knowledge, mathematical method to uniquely construct multifocal wavefronts from mean curvature functions (depending on radial and angular coordinates) under certain numerically justified approximations and restrictions. Additionally, our procedure leads to a particular family of wavefronts (line-umbilical multifocal wavefronts) described by 2 conditions: (1) to be smooth multiplicative separable functions in the radial and angular coordinates; (2) to be umbilical along a specific segment connecting the circle center with its edge. We provide several examples of multifocal wavefronts belonging to this family, including a smooth variant of the so-called light sword element.