On a cavity preparation, the cavosurface margin is the