next up previous
Next: Formats of attributes Up: Formats of 3D primitives Previous: /Trd

/Tubs

/Tubs describes a tube or its segment in azimuthal angle with constant minimum (inside) and maximum (outside) radii. Its height extends along the z axis. The top facet is on plane z = +dz, and the bottom facet on plane z = -dz. Centers of the top and bottom facets are (0, 0, +dz) and (0, 0, -dz), respectively. /Tubs is equivalent to /Cons with rmin1 = rmin2 and rmax1 = rmax2. /Tubs corresponds to class G4Tubs of GEANT4.

Format /Tubs rmin rmax dz sphi dphi
rmin minimum (inside) radius
rmax maximum (outside) radius
dz half height along the z axis
sphi starting azimuthal angle, [-2*PI, 2*PI]
dphi extension of azimuthal angle, dphi = [0, 2*PI],
  sphi + dphi =[-2*PI, 2*PI]


Satoshi Tanaka
4/9/1998