DoTorus(3D)

NAME
DoTorus - Create a torus primitive object

SYNOPSIS
C:
DtObject DoTorus(bigradius, xsectionradius)
DtReal bigradius;
DtReal xsectionradius;

FORTRAN:
INTEGER*4 DOTOR(BIGRAD, XRAD)
REAL*8 BIGRAD
REAL*8 XRAD

DESCRIPTION
DoTorus creates a torus (donut-shaped) primitive object. The parameter bigradius specifies the distance from the center (within the hole) of the torus to the center of the ring. The parameter xsectionradius specifies the radius of the cross-section of the ring itself. The torus is centered at the origin and the perimeter of the large circle is in the XZ-plane.

SEE ALSO
DoSubDivSpec(3D)