32 #include <boost/python.hpp> 44 return new G4Orb(name, pRmax);
56 class_<G4Orb, G4Orb*, bases<G4VSolid> >
57 (
"G4Orb",
"Orb solid class", no_init)
59 .def(init<const G4String&, G4double>())
61 .def(
"GetRadius", &G4Orb::GetRadius)
62 .def(
"SetRadius", &G4Orb::SetRadius)
64 .def(self_ns::str(
self))
68 def(
"CreateOrb",
CreateOrb, return_value_policy<manage_new_object>());
G4Orb * CreateOrb(const G4String &name, G4double pRmax)