32 #include <boost/python.hpp> 43 G4double newInnerRadius,
44 G4double newOuterRadius,
45 G4double newInnerStereo,
46 G4double newOuterStereo,
50 return new G4Hype(name, newInnerRadius, newOuterRadius,
51 newInnerStereo, newOuterStereo,
64 class_<G4Hype, G4Hype*, bases<G4VSolid> >
65 (
"G4Hype",
"hyperbolic solid class", no_init)
67 .def(init<
const G4String&, G4double, G4double, G4double,
68 G4double, G4double>())
70 .def(
"GetInnerRadius", &G4Hype::GetInnerRadius)
71 .def(
"GetOuterRadius", &G4Hype::GetOuterRadius)
72 .def(
"GetZHalfLength", &G4Hype::GetZHalfLength)
73 .def(
"GetInnerStereo", &G4Hype::GetInnerStereo)
74 .def(
"GetOuterStereo", &G4Hype::GetOuterStereo)
75 .def(
"SetInnerRadius", &G4Hype::SetInnerRadius)
76 .def(
"SetOuterRadius", &G4Hype::SetOuterRadius)
77 .def(
"SetZHalfLength", &G4Hype::SetZHalfLength)
78 .def(
"SetInnerStereo", &G4Hype::SetInnerStereo)
79 .def(
"SetOuterStereo", &G4Hype::SetOuterStereo)
81 .def(self_ns::str(
self))
85 def(
"CreateHype",
CreateHype, return_value_policy<manage_new_object>());
G4Hype * CreateHype(const G4String &name, G4double newInnerRadius, G4double newOuterRadius, G4double newInnerStereo, G4double newOuterStereo, G4double newHalfLenZ)