Statistics for Surface Mesh Segmentation and Reconstruction with Smooth Boundary Curves