Oval

This class is used to define the contour of a Tube. The contour is defined in the X-Y plane and can be circular or elliptical.

circular contour elliptical contour

We can specify the number of pie shaped segments that make up the cross-section.

oval segments

Increasing the number of segments will make the contour smoother.

Creating the Oval contour

Constructors
Oval(float radius, int nbrSegs)
Oval(float radiusX, float radiusZ, int nbrSegss)
Parameter Comments
radius
the ring radius round the Z axis. This will create a circular contour.
radiusX, radiusY
the ring radius along the X and Y axis. If they differ an elliptical contour will be created.
nbrSegs
the number of pie segments making up the full shape