]>
Commit | Line | Data |
---|---|---|
fe4da5cc | 1 | * |
2 | * $Id$ | |
3 | * | |
4 | * $Log$ | |
5 | * Revision 1.1.1.1 1995/10/24 10:20:23 cernlib | |
6 | * Geant | |
7 | * | |
8 | * | |
9 | #include "geant321/pilot.h" | |
10 | *CMZ : 3.21/02 29/03/94 15.41.26 by S.Giani | |
11 | *-- Author : | |
12 | SUBROUTINE GDELTU(A,B,Z0) | |
13 | C. | |
14 | C. ****************************************************************** | |
15 | C. * * | |
16 | C. * Draw an ellipse of semi-axes A and B centered * | |
17 | C. * on Z-axis,at a distance of Z0 from the origin, * | |
18 | C. * on a plane parallel to X-Y plane * | |
19 | C. * * | |
20 | C. * ==>Called by : GDRAWS * | |
21 | C. * Author : A.Solano * | |
22 | C. * * | |
23 | C. ****************************************************************** | |
24 | C. | |
25 | #include "geant321/gcdraw.inc" | |
26 | DIMENSION X(3,41),U(41),V(41) | |
27 | C. | |
28 | C. ------------------------------------------------------------------ | |
29 | C. | |
30 | IF (A.LT.0.0001.AND.B.LT.0.0001) GO TO 999 | |
31 | C | |
32 | DO 10 I=1,40 | |
33 | X(1,I)=A*GCOS(I) | |
34 | X(2,I)=B*GSIN(I) | |
35 | X(3,I)=Z0 | |
36 | 10 CONTINUE | |
37 | C | |
38 | CALL GDFR3D(X,40,U,V) | |
39 | C | |
40 | CM Short circuit in case of GMR | |
41 | C | |
42 | IF ( IGMR .NE. 0 ) GO TO 999 | |
43 | CM | |
44 | U(41)=U(1) | |
45 | V(41)=V(1) | |
46 | CALL GDRAWV(U,V,41) | |
47 | C | |
48 | 999 RETURN | |
49 | END | |
50 |