RE: [ROOT] TShape Torus?

From: Faine, Valeri (fine@bnl.gov)
Date: Fri Dec 20 2002 - 17:23:28 MET


Hello Meplan,


> Hello Rooters!
> Is there a way to define a Torus like TTUBE, TBRICK,... for geometry
> drawing?

No, ROOT has no ready-to-use shape like that.
Initially the ROOT set of the shapes was "borrowed" from GEANT3 Manual.
This set was optimized to simulate the High Energy Physics Detectors
rather to produce some 3D picture.

See:
http://wwwinfo.cern.ch/asdoc/geant_html3/node109.html#SECTION04100000000
0000000000000 

>From

http://wwwinfo.cern.ch/asdoc/geant_html3/geantall.html 


Fortunately this doesn't mean one can not provide his/her 
own new shape class.

For example, the ROOT C++ class:

http://root.cern.ch/root/htmldoc/TXTRU.html#TXTRU:description

has no GEANT-3 prototype and was written by ROOT user, Robert Hatcher
from FermiLab. So you can.

  My best regards, Valeri

> thx,
> Olivier Meplan



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:24 MET