32 #include <boost/python.hpp>
35 using namespace boost::python;
40 namespace pyG4TwistedBox {
47 return new G4TwistedBox(name, pPhiTwist, pDx, pDy, pDz );
53 using namespace pyG4TwistedBox;
60 class_<G4TwistedBox, G4TwistedBox*, bases<G4VSolid> >
61 (
"G4TwistedBox",
"twisted box solid class", no_init)
63 .def(init<const G4String&, G4double, G4double, G4double, G4double>())
70 .def(self_ns::str(
self))
75 return_value_policy<manage_new_object>());
G4double GetZHalfLength() const
G4double GetYHalfLength() const
G4double GetPhiTwist() const
void export_G4TwistedBox()
G4TwistedBox * CreateTwistedBox(const G4String &name, G4double pPhiTwist, G4double pDx, G4double pDy, G4double pDz)
G4double GetXHalfLength() const