[ROOT] TGeoShape GetShapeBit policy?

From: Valeri Fine (fine@bnl.gov)
Date: Wed Feb 11 2004 - 16:52:58 MET


Hello team,

What is the TGeoShape::Set(Get)ShapeBit property really mean?

For example the list 
http://root.cern.ch/root/htmldoc/TGeoShape.html#TGeoShape:kGeoArb8 
      static const TGeoShape::EShapeType kGeoNoShape       
      static const TGeoShape::EShapeType kGeoBad           
      static const TGeoShape::EShapeType kGeoRSeg          
      static const TGeoShape::EShapeType kGeoPhiSeg        
      static const TGeoShape::EShapeType kGeoThetaSeg      
      static const TGeoShape::EShapeType kGeoVisX          
      static const TGeoShape::EShapeType kGeoVisY          
      static const TGeoShape::EShapeType kGeoVisZ          
      static const TGeoShape::EShapeType kGeoRunTimeShape  
      static const TGeoShape::EShapeType kGeoInvalidShape  
      static const TGeoShape::EShapeType kGeoTorus         
      static const TGeoShape::EShapeType kGeoBox           
      static const TGeoShape::EShapeType kGeoPara          
      static const TGeoShape::EShapeType kGeoSph           
      static const TGeoShape::EShapeType kGeoTube          
      static const TGeoShape::EShapeType kGeoTubeSeg       
      static const TGeoShape::EShapeType kGeoCone          
      static const TGeoShape::EShapeType kGeoConeSeg       
      static const TGeoShape::EShapeType kGeoPcon          
      static const TGeoShape::EShapeType kGeoPgon          
      static const TGeoShape::EShapeType kGeoArb8          
      static const TGeoShape::EShapeType kGeoEltu          
      static const TGeoShape::EShapeType kGeoTrap          
      static const TGeoShape::EShapeType kGeoCtub          
      static const TGeoShape::EShapeType kGeoTrd1          
      static const TGeoShape::EShapeType kGeoTrd2          
      static const TGeoShape::EShapeType kGeoComb          
      static const TGeoShape::EShapeType kGeoClosedShape   
 

suggests the TGeoTrap::GetShapeBit would contains kGeoTrap bit.
However TGeoTrap:GetShapeBits returns "kGeoArb8" 

Is it a bug or undocumented feature? What the shape property stands for?
Can some one elaborate a little bit to clarify when the shape type
matches the shape bit?

Thank you

Valeri Fine                          
Brookaven National Laboratiory
P.O.Box 5000
Upton, NY 11973-5000
-----
Phone: +1 631 344 7806
Fax:   +1 631 344 4206
E-mail: fine@bnl.gov 



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET