31 #include <boost/python.hpp>
34 using namespace boost::python;
39 namespace pyG4Ellipsoid {
48 return new G4Ellipsoid(name, pxSemiAxis, pySemiAxis, pzSemiAxis,
49 pzBottomCut, pzTopCut);
56 using namespace pyG4Ellipsoid;
63 class_<G4Ellipsoid, G4Ellipsoid*, bases<G4VSolid> >
64 (
"G4Ellipsoid",
"ellipsoid class", no_init)
66 .def(init<const G4String&, G4double, G4double, G4double>())
67 .def(init<const G4String&, G4double, G4double, G4double, G4double>())
77 .def(self_ns::str(
self))
82 f_CreateEllipsoid()[return_value_policy<manage_new_object>()]);