32 #include <boost/python.hpp>
45 return new G4Box(name, pX, pY, pZ);
57 class_<G4Box, G4Box*, bases<G4VSolid> >
58 (
"G4Box",
"box solid class", no_init)
60 .def(init<const G4String&, G4double, G4double, G4double>())
69 .def(self_ns::str(
self))
73 def(
"CreateBox",
CreateBox, return_value_policy<manage_new_object>());
G4double GetXHalfLength() const
void SetZHalfLength(G4double dz)
const char * name(G4int ptype)
G4double GetZHalfLength() const
G4double GetYHalfLength() const
void SetYHalfLength(G4double dy)
void SetXHalfLength(G4double dx)
G4Box * CreateBox(const G4String &name, G4double pX, G4double pY, G4double pZ)