32 #include <boost/python.hpp>
35 using namespace boost::python;
45 return new G4Trd(name, pdx1, pdx2, pdy1, pdy2, pdz);
50 using namespace pyG4Trd;
57 class_<G4Trd, G4Trd*, bases<G4VSolid> >
58 (
"G4Trd",
"Trapezoild solid class", no_init)
74 .def(self_ns::str(
self))
78 def(
"CreateTrd",
CreateTrd, return_value_policy<manage_new_object>());
void SetXHalfLength2(G4double val)
void SetYHalfLength1(G4double val)
void SetYHalfLength2(G4double val)
void SetXHalfLength1(G4double val)
G4double GetYHalfLength2() const
G4double GetZHalfLength() const
G4double GetXHalfLength1() const
void SetZHalfLength(G4double val)
G4Trd * CreateTrd(const G4String &name, G4double pdx1, G4double pdx2, G4double pdy1, G4double pdy2, G4double pdz)
G4double GetYHalfLength1() const
G4double GetXHalfLength2() const