33 #include <boost/python.hpp> 
   36 using namespace boost::python;
 
   42 namespace pyG4TwistedTubs {
 
   66                            endouterrad, halfzlen, dphi);
 
   78                            endouterrad, halfzlen, nseg, totphi);
 
   89   return new G4TwistedTubs(name, twistedangle, innerrad, outerrad,
 
   90                            negativeEndz, positiveEndz, dphi);
 
  102   return new G4TwistedTubs(name, twistedangle, innerrad, outerrad,
 
  103                            negativeEndz, positiveEndz, nseg, totphi);
 
  109 using namespace pyG4TwistedTubs;
 
  116   class_<G4TwistedTubs, G4TwistedTubs*, bases<G4VSolid> >
 
  117     (
"G4TwistedTubs", 
"twisted tube solid class", no_init)
 
  147     .def(self_ns::str(
self))
 
  152         return_value_policy<manage_new_object>());
 
  154         return_value_policy<manage_new_object>());
 
  156         return_value_policy<manage_new_object>());
 
  158         return_value_policy<manage_new_object>());