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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

YMED R “ Center Y coordinate ” D=-10000.<br />

ZMED R “ Center Z coordinate ” D=-10000.<br />

This command performs a boolean subtraction between the volume CNVV and a sphere; the sphere has<br />

the given parameters and is placed in the MARS according to the given coordinates of its center. See also<br />

CVOL. The following commands clip by a sphere, positioned according to the given parameters, the volume<br />

specified by NAME (a valid string for the NAME of the volume can be found using the DTREE command).<br />

EXAMPLE -<br />

dopt hide on<br />

satt * seen -2<br />

drawNAME 40 40 0 10 10 .01 .01<br />

next<br />

sphe * 500 0 0 500<br />

drawNAME 40 40 0 10 10 .01 .01<br />

box .<br />

2.5 VALCUT xcut ycut zcut<br />

XCUT R “x coordinate of cutted value” D=0.<br />

YCUT R “y coordinate of cutted value” D=0.<br />

ZCUT R “z coordinate of cutted value” D=0.<br />

It allows the cutting in the ray-tracing. All the volumes are cutted from XCUT to +BIG along the x axis,<br />

from YCUT to +BIG along the y axis and from ZCUT to +BIG along the z axis.<br />

359 XINT002 – 3

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

Saved successfully!

Ooh no, something went wrong!