32 #include <boost/python.hpp>
35 using namespace boost::python;
40 namespace pyG4Ellipsoid {
49 return new G4Ellipsoid(name, pxSemiAxis, pySemiAxis, pzSemiAxis,
50 pzBottomCut, pzTopCut);
57 using namespace pyG4Ellipsoid;
64 class_<G4Ellipsoid, G4Ellipsoid*, bases<G4VSolid> >
65 (
"G4Ellipsoid",
"ellipsoid class", no_init)
67 .def(init<const G4String&, G4double, G4double, G4double>())
68 .def(init<const G4String&, G4double, G4double, G4double, G4double>())
78 .def(self_ns::str(
self))
83 f_CreateEllipsoid()[return_value_policy<manage_new_object>()]);
BOOST_PYTHON_FUNCTION_OVERLOADS(f_func2, func2, 1, 2)
G4double GetZTopCut() const
G4double GetZBottomCut() const
G4Ellipsoid * CreateEllipsoid(const G4String &name, G4double pxSemiAxis, G4double pySemiAxis, G4double pzSemiAxis, G4double pzBottomCut=0, G4double pzTopCut=0)
G4double GetSemiAxisMax(G4int i) const
void export_G4Ellipsoid()
void SetZCuts(G4double newzBottomCut, G4double newzTopCut)
void SetSemiAxis(G4double x, G4double y, G4double z)