32 #include <boost/python.hpp>
35 using namespace boost::python;
45 return new G4Box(name, pX, pY, pZ);
50 using namespace pyG4Box;
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)
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)