Geant4-11
Namespaces | Functions
pyG4EllipticalTube.cc File Reference
#include <boost/python.hpp>
#include "G4EllipticalTube.hh"

Go to the source code of this file.

Namespaces

namespace  pyG4EllipticalTube
 

Functions

G4EllipticalTubepyG4EllipticalTube::CreateEllipticalTube (const G4String &name, G4double theDx, G4double theDy, G4double theDz)
 
void export_G4EllipticalTube ()
 

Function Documentation

◆ export_G4EllipticalTube()

void export_G4EllipticalTube ( )

Definition at line 56 of file pyG4EllipticalTube.cc.

57{
58 class_<G4EllipticalTube, G4EllipticalTube*, bases<G4VSolid> >
59 ("G4EllipticalTube", "elliptical tube solid class", no_init)
60 // constructors
61 .def(init<const G4String&, G4double, G4double, G4double>())
62 // ---
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)
69
70 // operators
71 .def(self_ns::str(self))
72 ;
73
74 // Create solid
75 def("CreateEllipticalTube", CreateEllipticalTube,
76 return_value_policy<manage_new_object>());
77
78}
void SetDz(G4double Dz)
G4double GetDy() const
void SetDx(G4double Dx)
G4double GetDx() const
void SetDy(G4double Dy)
G4double GetDz() const
G4EllipticalTube * CreateEllipticalTube(const G4String &name, G4double theDx, G4double theDy, G4double theDz)

References pyG4EllipticalTube::CreateEllipticalTube(), G4EllipticalTube::GetDx(), G4EllipticalTube::GetDy(), G4EllipticalTube::GetDz(), G4EllipticalTube::SetDx(), G4EllipticalTube::SetDy(), and G4EllipticalTube::SetDz().

Referenced by BOOST_PYTHON_MODULE().