+-------------+                                               +----------##
| Geant 3.15  |               GEANT User's Guide              | DRAW115  ##
+-------------+                                               +----------##
                                   
                                   
Author(s) : F.Carminati, P.Zanarini                    Submitted: 01.01.86
Origin    : P.Zanarini                                   Revised: 11.12.92
                                  
+-----------------------------------------------------------------------------------+
|CALL GDRVOL (NNAMS,CHNAMS,LNUMBS,NRS,THETA,PHI,PSI,U0,V0,SU,SV) |
+-----------------------------------------------------------------------------------+
                                  
Draws an orthographic parallel projection or a perspective projection (depending on the option chosen via GDOPT) of the volume CHNAMS(N),LNUMBS(N) with all its descendants, at the position U0,V0 (user coordinates), with the scale factors SU and SV. The object is seen from THETA and PHI angles, and the resulting 2D projection is also rotated by an angle PSI on the screen plane. These parameters, as well as zoom parameters set by GDZOOM, define the current view parameters, and they are copied in /GCDRAW/. Attributes like colour, fill area, line width, line style, visibility, etc. can be set by the GSATT routine for CHNAMS(N) and or its descendants [GEOM 500]. This routine differs from GDRAW in the following aspects:
Here follows an example of the use of GDRVOL:
CHARACTER*4 CHNAMS(5) INTEGER LNUMBS(5) DATA CHNAMS/'OPAL','BRL-','EB ','EBB ','EBP '/ DATA LNUMBS/ 1 , 1 , 1 , 1 , 20 / - - - - - NRS=0 CALL GDRVOL(5,CHNAMS,LNUMBS,NRS,45.,135.,0.,10.,10.,0.01,0.01) CALL GDAXIS(0.,0.,0.,300.) CALL GDXYZ(0) - - - - - NRS=1 CALL GDRVOL(5,CHNAMS,LNUMBS,NRS,45.,135.,0.,10.,10.,0.01,0.01) CALL GDAXIS(0.,0.,0.,300.) CALL GDXYZ(0)