22.05.2014 Views

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

MLEVH number of horizontal nodes in the last tree scanned;<br />

NWCUT max. workspace allocated by cut routines, (5000);<br />

JNAM-JVLEVpointers used by the tree routines;<br />

LOOKTB colour look-up table, (LOOKTB(I)=I,I=1,16);<br />

GRMAT0 rotation matrix saved by GDRVOL,(unitary matrix);<br />

GTRAN0 translation vector saved by GDRVOL,(0.,0.,0.);<br />

IDRNUM flag for GDRAW, set to 1 when called by GDRVOL (0);<br />

GSIN sine table (at 9 ◦ steps);<br />

GCOS cosine table (at 9 ◦ steps);<br />

SINPSI SIN(GPSI*DEGRAD);<br />

COSPSI COS(GPSI DEGRAD);<br />

GTHETA θ angle of the parallel projection of 3-dimensional images on the screen (45 ◦ );<br />

GPHI φ angle of the parallel projection of 3-dimensional images on the screen (135 ◦ );<br />

GPSI ψ angle of rotation of the image on the screen (0 ◦ );<br />

GU0 U position (X in screen coordinates) of the origin of the drawing in screen units (10.);<br />

GV0 V position (Y in screen coordinates) of the origin of the drawing in screen units (10.);<br />

GSCU scale factor for the U screen coordinate (0.015);<br />

GSCV scale factor for the V screen coordinate (0.015);<br />

NGVIEW flag informing GDFR3D and GD3D3D if the view point has changed (0);<br />

ICUTFL flag informing GDRAW if it was called by cut drawing routines;<br />

ICUT axis along which the cut is performed (1, 2 or 3, 0 if no cut);<br />

CTHETA θ angle of cut supplied to GDRAWX (used by GDCUT);<br />

CPHI φ angle of cut supplied to GDRAWX (used by GDCUT);<br />

DCUT coordinate value (along axis ICUT) at which the cut is performed;<br />

NSURF number of surfaces stored in SURF to be cut;<br />

ISURF pointer for array SURF;<br />

GZUA zoom parameter (horizontal scale factor) (1.);<br />

GZVA zoom parameter (vertical scale factor) (1.);<br />

GZUB zoom parameter (0.);<br />

GZVB zoom parameter (0.);<br />

GZUC zoom parameter (0.);<br />

GZVC zoom parameter (0.);<br />

PLTRNX drawing X range in cm (20.);<br />

PLTRNY drawing Y range in cm (20.);<br />

LINATT current line attributes (colour=1, width=1, style=1, fill=1);<br />

LINATP permanent line attributes (LINATT);<br />

ITXATT current text attributes (colour = 1, width = 1);<br />

ITHRZ string containing the status of THRZ option of GDOPT (’OFF ’);<br />

IPRJ string containing the status of PROJ option of GDOPT (’PARA’);<br />

DPERS distance of the view point from the origin for perspective drawing (1000.);<br />

420 ZZZZ010 – 3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!