33 #include <boost/python.hpp>
36 using namespace boost::python;
41 namespace pyG4Ellipsoid {
50 return new G4Ellipsoid(name, pxSemiAxis, pySemiAxis, pzSemiAxis,
51 pzBottomCut, pzTopCut);
58 using namespace pyG4Ellipsoid;
65 class_<G4Ellipsoid, G4Ellipsoid*, bases<G4VSolid> >
66 (
"G4Ellipsoid",
"ellipsoid class", no_init)
68 .def(init<const G4String&, G4double, G4double, G4double>())
69 .def(init<const G4String&, G4double, G4double, G4double, G4double>())
79 .def(self_ns::str(
self))
84 f_CreateEllipsoid()[return_value_policy<manage_new_object>()]);