Function Representation of Solids Reconstructed from Scattered Surface Points and Contours