31 #include <boost/python.hpp> 32 #include "G4EllipticalCone.hh" 47 return new G4EllipticalCone(name, pxSemiAxis,pySemiAxis, zMax, pzTopCut);
59 class_<G4EllipticalCone, G4EllipticalCone*, bases<G4VSolid> >
60 (
"G4EllipticalCone",
"elliptical cone solid class", no_init)
62 .def(init<const G4String&, G4double, G4double, G4double, G4double>())
64 .def(
"GetSimiAxisMax", &G4EllipticalCone::GetSemiAxisMax)
65 .def(
"GetZTopCut", &G4EllipticalCone::GetZTopCut)
66 .def(
"SetSemiAxis", &G4EllipticalCone::SetSemiAxis)
67 .def(
"SetZCut", &G4EllipticalCone::SetZCut)
69 .def(self_ns::str(
self))
74 return_value_policy<manage_new_object>());
void export_G4EllipticalCone()
G4EllipticalCone * CreateEllipticalCone(const G4String &name, G4double pxSemiAxis, G4double pySemiAxis, G4double zMax, G4double pzTopCut)