5 #include "GeoModelKernel/GeoGenericTrap.h" 6 #include "GeoModelKernel/GeoShapeAction.h" 8 const std::string GeoGenericTrap::s_classType =
"GenericTrap";
9 const ShapeType GeoGenericTrap::s_classTypeID = 0x23;
11 GeoGenericTrap::GeoGenericTrap(
double ZHalfLength,
const GeoGenericTrapVertices& Vertices)
12 : m_zHalfLength(ZHalfLength)
13 , m_vertices(Vertices)
17 GeoGenericTrap::~GeoGenericTrap()
21 double GeoGenericTrap::volume()
const 27 const std::string& GeoGenericTrap::type()
const 32 ShapeType GeoGenericTrap::typeID()
const 39 action->handleGenericTrap(
this);
42 double GeoGenericTrap::getZHalfLength()
const 47 const GeoGenericTrapVertices& GeoGenericTrap::getVertices()
const This class is a visitor for shapes. It allows a navigation of the boolean expression tree for shapes...