Lathe Surface
The LatheSurface class uses a 2D curve (Path) rotated about the Y axis to create a surface. Once
created, the surface is used to create a 3D object in the LatheStock class.
The picture on the left shows the 2D Bezier spline used to create the LatheStock shape on the
right.
Creating the LatheSurface
| Constructors | |
|---|---|
|
|
| Parameter | Comments |
|
the 2D path representing the shapes contour |
|
defines the start and end angles for the rotation. Both angles are normalised to the range 0-2π (radians). In the first constructor these parameters are missing so a full 360° rotation is applied. |
|
specifies the number of segments the rotation is split into so controls the smoothness of the surface round the Y axis. |