5 * Revision 1.1.1.1 1995/10/24 10:20:22 cernlib
9 #include "geant321/pilot.h"
10 *CMZ : 3.21/02 29/03/94 15.41.26 by S.Giani
12 SUBROUTINE GDCIRR(R,THROT)
14 C. ******************************************************************
16 C. * Draw a circle of radius R, centered on the origin, *
17 C. * on a plane whose normal is parallel to X-Y plane *
18 C. * with an angle THROT with X-axis *
20 C. * ==>Called by : GDRAWS *
21 C. * Author : P.Zanarini ********* *
23 C. ******************************************************************
25 #include "geant321/gcdraw.inc"
26 #include "geant321/gconsp.inc"
27 DIMENSION X(3,41),U(41),V(41)
29 C. ------------------------------------------------------------------
31 IF (R.LT.0.0001) GO TO 999
38 X(1,I)=R*GCOS(I)*CTHROT
40 X(3,I)=R*GCOS(I)*STHROT
45 CM Short circuit in case of GMR
47 IF ( IGMR .NE. 0 ) GO TO 999