Added a curvature parameter to region_3d