31 #include <boost/python.hpp> 32 #include "G4EllipticalTube.hh" 46 return new G4EllipticalTube(name, theDx, theDy, theDz);
58 class_<G4EllipticalTube, G4EllipticalTube*, bases<G4VSolid> >
59 (
"G4EllipticalTube",
"elliptical tube solid class", no_init)
61 .def(init<const G4String&, G4double, G4double, G4double>())
63 .def(
"GetDx", &G4EllipticalTube::GetDx)
64 .def(
"GetDy", &G4EllipticalTube::GetDy)
65 .def(
"GetDz", &G4EllipticalTube::GetDz)
66 .def(
"SetDx", &G4EllipticalTube::SetDx)
67 .def(
"SetDy", &G4EllipticalTube::SetDy)
68 .def(
"SetDz", &G4EllipticalTube::SetDz)
71 .def(self_ns::str(
self))
76 return_value_policy<manage_new_object>());
G4EllipticalTube * CreateEllipticalTube(const G4String &name, G4double theDx, G4double theDy, G4double theDz)
void export_G4EllipticalTube()