5 #ifndef GEOMODELKERNEL_GEOTUBE_H 6 #define GEOMODELKERNEL_GEOTUBE_H 8 #include "GeoModelKernel/GeoShape.h" 13 GeoTube (
double RMin,
double RMax,
double ZHalfLength);
16 virtual double volume ()
const;
19 virtual const std::string & type ()
const;
22 virtual ShapeType typeID ()
const;
28 static const std::string& getClassType ();
31 static ShapeType getClassTypeID ();
34 const double& getRMin ()
const;
37 const double& getRMax ()
const;
40 const double& getZHalfLength ()
const;
50 static const std::string s_classType;
51 static const ShapeType s_classTypeID;
59 inline const std::string& GeoTube::getClassType ()
64 inline ShapeType GeoTube::getClassTypeID ()
69 inline const double& GeoTube::getRMin ()
const 74 inline const double& GeoTube::getRMax ()
const 79 inline const double& GeoTube::getZHalfLength ()
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: