32 #include <boost/python.hpp>
35 using namespace boost::python;
45 return new G4Torus(name, pRmin, pRmax, pRtor, pSPhi, pDPhi);
50 using namespace pyG4Torus;
57 class_<G4Torus, G4Torus*, bases<G4VSolid> >
58 (
"G4Torus",
"Torus solid class", no_init)
69 .def(self_ns::str(
self))
73 def(
"CreateTorus",
CreateTorus, return_value_policy<manage_new_object>());
G4Torus * CreateTorus(const G4String &name, G4double pRmin, G4double pRmax, G4double pRtor, G4double pSPhi, G4double pDPhi)