31 #include <boost/python.hpp> 43 return new G4Orb(name, pRmax);
55 class_<G4Orb, G4Orb*, bases<G4VSolid> >
56 (
"G4Orb",
"Orb solid class", no_init)
58 .def(init<const G4String&, G4double>())
60 .def(
"GetRadius", &G4Orb::GetRadius)
61 .def(
"SetRadius", &G4Orb::SetRadius)
63 .def(self_ns::str(
self))
67 def(
"CreateOrb",
CreateOrb, return_value_policy<manage_new_object>());
G4Orb * CreateOrb(const G4String &name, G4double pRmax)