31 #include <boost/python.hpp> 42 G4double newInnerRadius,
43 G4double newOuterRadius,
44 G4double newInnerStereo,
45 G4double newOuterStereo,
49 return new G4Hype(name, newInnerRadius, newOuterRadius,
50 newInnerStereo, newOuterStereo,
63 class_<G4Hype, G4Hype*, bases<G4VSolid> >
64 (
"G4Hype",
"hyperbolic solid class", no_init)
66 .def(init<
const G4String&, G4double, G4double, G4double,
67 G4double, G4double>())
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)
80 .def(self_ns::str(
self))
84 def(
"CreateHype",
CreateHype, return_value_policy<manage_new_object>());
G4Hype * CreateHype(const G4String &name, G4double newInnerRadius, G4double newOuterRadius, G4double newInnerStereo, G4double newOuterStereo, G4double newHalfLenZ)