5 #ifndef GEOMODELKERNEL_GEOPARA_H 6 #define GEOMODELKERNEL_GEOPARA_H 8 #include "GeoModelKernel/GeoShape.h" 14 GeoPara (
double XHalfLength,
double YHalfLength,
double ZHalfLength,
double Alpha,
double Theta,
double Phi);
17 virtual double volume ()
const;
20 virtual const std::string & type ()
const;
23 virtual ShapeType typeID ()
const;
29 static const std::string& getClassType ();
32 static ShapeType getClassTypeID ();
35 const double& getXHalfLength ()
const;
38 const double& getYHalfLength ()
const;
41 const double& getZHalfLength ()
const;
44 const double& getTheta ()
const;
48 const double& getAlpha ()
const;
51 const double& getPhi ()
const;
60 static const std::string s_classType;
61 static const ShapeType s_classTypeID;
71 inline const std::string& GeoPara::getClassType ()
76 inline ShapeType GeoPara::getClassTypeID ()
81 inline const double& GeoPara::getXHalfLength ()
const 86 inline const double& GeoPara::getYHalfLength ()
const 91 inline const double& GeoPara::getZHalfLength ()
const 96 inline const double& GeoPara::getTheta ()
const 101 inline const double& GeoPara::getAlpha ()
const 106 inline const double& GeoPara::getPhi ()
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: