DoTorus(3D) — Stardent Computer Inc. (\*(Dd)
NAME
DoTorus − Create a torus primitive object
SYNOPSIS
C:
DtObject DoTorus(bigradius, smallradius)
DtReal bigradius;
DtReal smallradius;
Fortran:
INTEGER∗4 DOTOR(BIGRAD, SMLRAD)
REAL∗8 BIGRAD
REAL∗8 SMLRAD
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 smallradius 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
September 29, 2021