Piecewise Surface Reconstruction From Range Data