31 #include <boost/python.hpp>
34 using namespace boost::python;
40 namespace pyG4TwistedTubs {
64 endouterrad, halfzlen, dphi);
76 endouterrad, halfzlen, nseg, totphi);
87 return new G4TwistedTubs(name, twistedangle, innerrad, outerrad,
88 negativeEndz, positiveEndz, dphi);
100 return new G4TwistedTubs(name, twistedangle, innerrad, outerrad,
101 negativeEndz, positiveEndz, nseg, totphi);
107 using namespace pyG4TwistedTubs;
114 class_<G4TwistedTubs, G4TwistedTubs*, bases<G4VSolid> >
115 (
"G4TwistedTubs",
"twisted tube solid class", no_init)
145 .def(self_ns::str(
self))
150 return_value_policy<manage_new_object>());
152 return_value_policy<manage_new_object>());
154 return_value_policy<manage_new_object>());
156 return_value_policy<manage_new_object>());