5 #ifndef GEOMODELKERNEL_GEOTRAP_H 6 #define GEOMODELKERNEL_GEOTRAP_H 14 #include "GeoModelKernel/GeoShape.h" 19 GeoTrap (
double ZHalfLength,
double Theta,
double Phi,
double Dydzn,
double Dxdyndzn,
double Dxdypdzn,
double Angleydzn,
double Dydzp,
double Dxdyndzp,
double Dxdypdzp,
double Angleydzp);
22 virtual double volume ()
const;
25 virtual const std::string & type ()
const;
28 virtual ShapeType typeID ()
const;
34 static const std::string& getClassType ();
37 static ShapeType getClassTypeID ();
40 const double& getZHalfLength ()
const;
43 const double& getTheta ()
const;
46 const double& getPhi ()
const;
49 const double& getDydzn ()
const;
52 const double& getDxdyndzn ()
const;
55 const double& getDxdypdzn ()
const;
57 const double& getAngleydzn ()
const;
60 const double& getDydzp ()
const;
63 const double& getDxdyndzp ()
const;
66 const double& getDxdypdzp ()
const;
68 const double& getAngleydzp ()
const;
77 static const std::string s_classType;
78 static const ShapeType s_classTypeID;
94 inline const std::string& GeoTrap::getClassType ()
99 inline ShapeType GeoTrap::getClassTypeID ()
101 return s_classTypeID;
104 inline const double& GeoTrap::getZHalfLength ()
const 106 return m_zHalfLength;
109 inline const double& GeoTrap::getTheta ()
const 114 inline const double& GeoTrap::getPhi ()
const 119 inline const double& GeoTrap::getDydzn ()
const 124 inline const double& GeoTrap::getDxdyndzn ()
const 129 inline const double& GeoTrap::getDxdypdzn ()
const 134 inline const double& GeoTrap::getAngleydzn ()
const 139 inline const double& GeoTrap::getDydzp ()
const 144 inline const double& GeoTrap::getDxdyndzp ()
const 149 inline const double& GeoTrap::getDxdypdzp ()
const 154 inline const double& GeoTrap::getAngleydzp ()
const This shape represents a very general trapezoid.
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: