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