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