32 #include <boost/python.hpp> 33 #include "G4TwistedTrap.hh" 44 G4double pDx1, G4double pDx2,
45 G4double pDy, G4double pDz)
47 return new G4TwistedTrap(name, pPhiTwist, pDx1, pDx2, pDy, pDz);
53 G4double pDz, G4double pTheta,
54 G4double pPhi, G4double pDy1,
55 G4double pDx1, G4double pDx2,
56 G4double pDy2, G4double pDx3,
57 G4double pDx4, G4double pAlph)
59 return new G4TwistedTrap(name, pPhiTwist, pDz, pTheta, pPhi,
60 pDy1, pDx1, pDx2, pDy2, pDx3, pDx4, pAlph);
72 class_<G4TwistedTrap, G4TwistedTrap*, bases<G4VSolid> >
73 (
"G4TwistedTrap",
"twisted trapezoid solid class", no_init)
75 .def(init<
const G4String&, G4double, G4double, G4double,
76 G4double, G4double>())
77 .def(init<
const G4String&, G4double, G4double, G4double,
78 G4double, G4double, G4double,
79 G4double, G4double, G4double,
80 G4double, G4double>())
82 .def(self_ns::str(
self))
87 return_value_policy<manage_new_object>());
89 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)