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