5 #ifndef GEOMODELKERNEL_GEOBOX_H 6 #define GEOMODELKERNEL_GEOBOX_H 8 #include "GeoModelKernel/GeoShape.h" 14 GeoBox (
double XHalfLength,
double YHalfLength,
double ZHalfLength);
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;
50 static const std::string s_classType;
51 static const ShapeType s_classTypeID;
57 inline const std::string& GeoBox::getClassType ()
62 inline ShapeType GeoBox::getClassTypeID ()
67 inline const double& GeoBox::getXHalfLength ()
const 72 inline const double& GeoBox::getYHalfLength ()
const 77 inline const double& GeoBox::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: