Revolve

This function creates a surface by rotating a curve around a rotational axis. This function receives the following parameters the curve to rotate, two axis points and the initial and final angles of rotation. The line that contains the two axis points will be considered the rotation axis.

Figure 1. Revolve a segment to create a cone