Re: TGeoCompositeShape sustraction [message #5087 is a reply to message #5086] |
Wed, 26 September 2007 17:13 ![Go to previous message Go to previous message](/theme/gsi/images/up.png) |
asanchez
Messages: 350 Registered: March 2006
|
first-grade participant |
From: *gsi.de
|
|
Hi that is still the old release.
I have checked again, it works.
the problem was related with a bad copy numbering.
anyway if somebody tries to substrate two volumes by using
TGeoCompositeShape, pay attention because there is a bug in the root class documentation.
TGeoCompositeShape *cv = new TGeoCompositeShape("cv"," first\ second")
Don't use (\) for susbatration, it doesn't work.
The proper expression is (-)
TGeoCompositeShape *cv = new TGeoCompositeShape("cv"," first- second")
best regards
alicia
|
|
|