next up previous
Next: /Trap Up: Formats of 3D primitives Previous: /SphereSeg

/Torus

/Torus describes a torus or its segment in azimuthal angle around the z axis. The curbed tube to form the torus has a constant minimum inside radius (rmin) and a maximum outside radius (rmax). The circle drawn by the central line of the tube has a radius rtor, and center of this circle is the coordinate origin. /Torus corresponds to class G4Torus of GEANT4.

Format /Torus rmin rmax rtor sphi dphi
rmin minimum (inside) radius of tube
rmax maximum (outside) radius of tube
rtor radius of circle drawn by the central line of the tube
sphi starting azimuthal angle of the above circle,
  sphi =[-2*PI, 2*PI]
dphi extension of azimuthal angle of the above circle,
  dphi = [0, 2*PI],
  sphi + dphi = [-2*PI, 2*PI]


Satoshi Tanaka
4/9/1998