Surface of revolution

Define the rotated curve to get surface of revolution