32 #include <boost/python.hpp> 33 #include "G4TwistedTrd.hh" 43 G4double pDx1, G4double pDx2,
44 G4double pDy1, G4double pDy2,
45 G4double pDz, G4double pPhiTwist)
47 return new G4TwistedTrd(name, pDx1, pDx2, pDy1, pDy2, pDz, pPhiTwist);
59 class_<G4TwistedTrd, G4TwistedTrd*, bases<G4VSolid> >
60 (
"G4TwistedTrd",
"twisted trapezoid solid class", no_init)
62 .def(init<
const G4String&, G4double, G4double, G4double,
63 G4double, G4double, G4double>())
65 .def(
"GetX1HalfLength", &G4TwistedTrd::GetX1HalfLength)
66 .def(
"GetX2HalfLength", &G4TwistedTrd::GetX2HalfLength)
67 .def(
"GetY1HalfLength", &G4TwistedTrd::GetY1HalfLength)
68 .def(
"GetY2HalfLength", &G4TwistedTrd::GetY2HalfLength)
69 .def(
"GetZHalfLength", &G4TwistedTrd::GetZHalfLength)
70 .def(
"GetPhiTwist", &G4TwistedTrd::GetPhiTwist)
72 .def(self_ns::str(
self))
77 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()