31 #include <boost/python.hpp> 32 #include "G4TwistedTrd.hh" 42 G4double pDx1, G4double pDx2,
43 G4double pDy1, G4double pDy2,
44 G4double pDz, G4double pPhiTwist)
46 return new G4TwistedTrd(name, pDx1, pDx2, pDy1, pDy2, pDz, pPhiTwist);
58 class_<G4TwistedTrd, G4TwistedTrd*, bases<G4VSolid> >
59 (
"G4TwistedTrd",
"twisted trapezoid solid class", no_init)
61 .def(init<
const G4String&, G4double, G4double, G4double,
62 G4double, G4double, G4double>())
64 .def(
"GetX1HalfLength", &G4TwistedTrd::GetX1HalfLength)
65 .def(
"GetX2HalfLength", &G4TwistedTrd::GetX2HalfLength)
66 .def(
"GetY1HalfLength", &G4TwistedTrd::GetY1HalfLength)
67 .def(
"GetY2HalfLength", &G4TwistedTrd::GetY2HalfLength)
68 .def(
"GetZHalfLength", &G4TwistedTrd::GetZHalfLength)
69 .def(
"GetPhiTwist", &G4TwistedTrd::GetPhiTwist)
71 .def(self_ns::str(
self))
76 return_value_policy<manage_new_object>());
G4TwistedTrd * CreateTwistedTrd(const G4String &name, G4double pDx1, G4double pDx2, G4double pDy1, G4double pDy2, G4double pDz, G4double pPhiTwist)
void export_G4TwistedTrd()