5 * Revision 1.1.1.1 1995/10/24 10:19:44 cernlib
9 #include "geant321/pilot.h"
10 *CMZ : 3.21/02 29/03/94 15.41.31 by S.Giani
12 SUBROUTINE CGHSIZ(CG,NT,NVF,NVE,ISHAPE)
13 ************************************************************************
16 * Author: E. Chernyaev Date: 02.08.88 *
17 * Revised by: S.Giani Date: 26.04.91 *
19 * Function: Compute number of visible FACES and EDGE *
21 * References: CGFVIS *
23 * Input: CG - CG-object *
24 * NT - number for transformation to screen coordinates *
26 * Output: NVF - number of visible faces *
27 * NVE - number of visible edges *
31 ************************************************************************
32 #include "geant321/cggpar.inc"
33 #include "geant321/gcspee.inc"
46 CALL CGFARE(NT,CG(JCG+1),IVIS,ISHAPE)
47 IF (IVIS .LT. 0) CG(JCG+KCGNE) =-CG(JCG+KCGNE)
48 JCG = JCG + LCGFAC + NEDGE*LCGEDG
49 IF (IVIS .LT. 0) GOTO 100