A computer-implemented method for computing a surface of a multiple-layer object is disclosed. The method includes obtaining reference data describing a
reference surface, obtaining layer data describing a respective thickness and a respective boundary of each layer of the multiple
layers defined on the
reference surface, and computing, based on the reference data and the layer data, a spatial field that encloses a spatial region located between the
reference surface and a region corresponding to a sum of the thicknesses of the multiple
layers stacked on the reference surface. The spatial field describes, for each of its constituent field points, a distance of the respective
field point to the boundary of the respective layer and to the reference surface. The computing of the spatial field includes computing the spatial field to describe the field to a precision that is based on a distance to the boundary of the respective layer. The computer-implemented method includes computing the surface based on the spatial field.