next up previous
Next: /Polyhedron ... /EndPolyhedron Up: Formats of 3D primitives Previous: /PolyCone

/PolyGon

/PolyGon is similar to /PolyCone. The difference is that its side is not a curved surface, but its side is really a set of explicitly given numbers of 3D polygons. /PolyGon corresponds to class G4BREPSolidPolyhedra of GEANT4. But /PolyGon is not really used in GEANT4 visualization. /Polyhedron ... /EndPolyhedron is used instead.

Format /PolyGon sphi dphi nsides nz
  z[nz] rmin[nz] rmax[nz]
  (A[n] abbreviates a list of n real numbers)
nsides accuracy of expressing curved side surfaces
others same as /PolyCone


Satoshi Tanaka
4/9/1998