Shape preserving interpolation of points in two and three dimensions