5 #ifndef GEOMODELKERNEL_GEOTORUS_H 6 #define GEOMODELKERNEL_GEOTORUS_H 8 #include "GeoModelKernel/GeoShape.h" 14 GeoTorus (
double Rmin,
double Rmax,
double Rtor,
double SPhi,
double DPhi);
16 virtual double volume ()
const;
18 virtual const std::string & type ()
const;
19 virtual ShapeType typeID ()
const;
21 static const std::string& getClassType ();
22 static ShapeType getClassTypeID ();
26 const double& getRMin ()
const;
27 const double& getRMax ()
const;
28 const double& getRTor ()
const;
29 const double& getSPhi ()
const;
30 const double& getDPhi ()
const;
39 static const std::string s_classType;
40 static const ShapeType s_classTypeID;
49 inline const std::string& GeoTorus::getClassType ()
54 inline ShapeType GeoTorus::getClassTypeID ()
59 inline const double& GeoTorus::getRMin ()
const 64 inline const double& GeoTorus::getRMax ()
const 69 inline const double& GeoTorus::getRTor ()
const 74 inline const double& GeoTorus::getSPhi ()
const 79 inline const double& GeoTorus::getDPhi ()
const
This class is a visitor for shapes. It allows a navigation of the boolean expression tree for shapes...
This class describes a Shape. Shapes will be able to do the following things: