+-------------+ +----------## | Geant 3.15 | GEANT User's Guide | DRAW120 ## +-------------+ +----------##
Author(s) : F.Carminati Submitted: 15.05.84 Origin : P.Zanarini Revised: 11.12.92
+-----------------------------------------------------------------------------------+ |CALL GDRAWX (CHNAME,CUTTHE,CUTPHI,CUTVAL,THETA,PHI,U0,V0,SU,SV) | +-----------------------------------------------------------------------------------+
Draws a cut view of the volume CHNAME, with all its visible descendants, i.e. draws their intersection with the cut plane normal to the axis given by the angles CUTTHE, CUTPHI at the distance CUTVAL from the origin. The view point is defined by the angles THETA, PHI. U0, V0, SU, SV have the same meaning as in GDRAW. These 'view parameters', as well as zoom parameters set by GDZOOM are copied in/GCDRAW/.
Attributes like colour, surface fill, line width, line style, visibility, etc. can be set by the GSATT routine for CHNAME and its descendants [GEOM500].
+----------------------------------------------------------------+ | CALL GDRAWC (CHNAME,IAX,CUTVAL,U0,V0,SU,SV) | +----------------------------------------------------------------+
This routine is a special case of the previous GDRAWX. Here the cut plane is normal to one of the main axes (IAX) and placed at a distance CUTVAL from the origin. The view point is along the same axis.
We give here an example of utilisation of GDAXIS, GDRAW and GDRAWX:
CALL GDAXIS(0.,0.,0.,200.) CALL GDRAW('NBOX',50.,150.,0.,10.,10.,0.01,0.01) CALL GDRAW('NTUB',50.,150.,0.,10.,10.,0.01,0.01) CALL GDRAWX('NBOX',30.,40.,0.,50.,150.,10.,10.,0.1,0.1) CALL GDRAWX('NTUB',30.,40.,0.,50.,150.,10.,10.,0.1,0.1)