31 #include <boost/python.hpp> 32 #include "G4TwistedBox.hh" 43 G4double pDx, G4double pDy, G4double pDz)
46 return new G4TwistedBox(name, pPhiTwist, pDx, pDy, pDz );
59 class_<G4TwistedBox, G4TwistedBox*, bases<G4VSolid> >
60 (
"G4TwistedBox",
"twisted box solid class", no_init)
62 .def(init<const G4String&, G4double, G4double, G4double, G4double>())
64 .def(
"GetXHalfLength", &G4TwistedBox::GetXHalfLength)
65 .def(
"GetYHalfLength", &G4TwistedBox::GetYHalfLength)
66 .def(
"GetZHalfLength", &G4TwistedBox::GetZHalfLength)
67 .def(
"GetPhiTwist", &G4TwistedBox::GetPhiTwist)
69 .def(self_ns::str(
self))
74 return_value_policy<manage_new_object>());
void export_G4TwistedBox()
G4TwistedBox * CreateTwistedBox(const G4String &name, G4double pPhiTwist, G4double pDx, G4double pDy, G4double pDz)