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

Go to the source code of this file.

Namespaces

namespace  pyG4Hype
 

Functions

G4HypepyG4Hype::CreateHype (const G4String &name, G4double newInnerRadius, G4double newOuterRadius, G4double newInnerStereo, G4double newOuterStereo, G4double newHalfLenZ)
 
void export_G4Hype ()
 

Function Documentation

◆ export_G4Hype()

void export_G4Hype ( )

Definition at line 61 of file pyG4Hype.cc.

62{
63 class_<G4Hype, G4Hype*, bases<G4VSolid> >
64 ("G4Hype", "hyperbolic solid class", no_init)
65 // constructors
66 .def(init<const G4String&, G4double, G4double, G4double,
68 // ---
69 .def("GetInnerRadius", &G4Hype::GetInnerRadius)
70 .def("GetOuterRadius", &G4Hype::GetOuterRadius)
71 .def("GetZHalfLength", &G4Hype::GetZHalfLength)
72 .def("GetInnerStereo", &G4Hype::GetInnerStereo)
73 .def("GetOuterStereo", &G4Hype::GetOuterStereo)
74 .def("SetInnerRadius", &G4Hype::SetInnerRadius)
75 .def("SetOuterRadius", &G4Hype::SetOuterRadius)
76 .def("SetZHalfLength", &G4Hype::SetZHalfLength)
77 .def("SetInnerStereo", &G4Hype::SetInnerStereo)
78 .def("SetOuterStereo", &G4Hype::SetOuterStereo)
79 // operators
80 .def(self_ns::str(self))
81 ;
82
83 // Create solid
84 def("CreateHype", CreateHype, return_value_policy<manage_new_object>());
85
86}
double G4double
Definition: G4Types.hh:83
void SetOuterStereo(G4double newOSte)
void SetOuterRadius(G4double newORad)
G4double GetInnerStereo() const
void SetZHalfLength(G4double newHLZ)
G4double GetZHalfLength() const
G4double GetOuterStereo() const
G4double GetOuterRadius() const
void SetInnerStereo(G4double newISte)
void SetInnerRadius(G4double newIRad)
G4double GetInnerRadius() const
G4Hype * CreateHype(const G4String &name, G4double newInnerRadius, G4double newOuterRadius, G4double newInnerStereo, G4double newOuterStereo, G4double newHalfLenZ)
Definition: pyG4Hype.cc:41

References pyG4Hype::CreateHype(), G4Hype::GetInnerRadius(), G4Hype::GetInnerStereo(), G4Hype::GetOuterRadius(), G4Hype::GetOuterStereo(), G4Hype::GetZHalfLength(), G4Hype::SetInnerRadius(), G4Hype::SetInnerStereo(), G4Hype::SetOuterRadius(), G4Hype::SetOuterStereo(), and G4Hype::SetZHalfLength().

Referenced by BOOST_PYTHON_MODULE().