31 #include <boost/python.hpp> 32 #include "G4TwistedTrap.hh" 43 G4double pDx1, G4double pDx2,
44 G4double pDy, G4double pDz)
46 return new G4TwistedTrap(name, pPhiTwist, pDx1, pDx2, pDy, pDz);
52 G4double pDz, G4double pTheta,
53 G4double pPhi, G4double pDy1,
54 G4double pDx1, G4double pDx2,
55 G4double pDy2, G4double pDx3,
56 G4double pDx4, G4double pAlph)
58 return new G4TwistedTrap(name, pPhiTwist, pDz, pTheta, pPhi,
59 pDy1, pDx1, pDx2, pDy2, pDx3, pDx4, pAlph);
71 class_<G4TwistedTrap, G4TwistedTrap*, bases<G4VSolid> >
72 (
"G4TwistedTrap",
"twisted trapezoid solid class", no_init)
74 .def(init<
const G4String&, G4double, G4double, G4double,
75 G4double, G4double>())
76 .def(init<
const G4String&, G4double, G4double, G4double,
77 G4double, G4double, G4double,
78 G4double, G4double, G4double,
79 G4double, G4double>())
81 .def(self_ns::str(
self))
86 return_value_policy<manage_new_object>());
88 return_value_policy<manage_new_object>());
void export_G4TwistedTrap()
G4TwistedTrap * f2_CreateTwistedTrap(const G4String &name, G4double pPhiTwist, G4double pDz, G4double pTheta, G4double pPhi, G4double pDy1, G4double pDx1, G4double pDx2, G4double pDy2, G4double pDx3, G4double pDx4, G4double pAlph)
G4TwistedTrap * f1_CreateTwistedTrap(const G4String &name, G4double pPhiTwist, G4double pDx1, G4double pDx2, G4double pDy, G4double pDz)