31#include <boost/python.hpp>
34using namespace boost::python;
44 return new G4Trd(
name, pdx1, pdx2, pdy1, pdy2, pdz);
56 class_<G4Trd, G4Trd*, bases<G4VSolid> >
57 (
"G4Trd",
"Trapezoild solid class", no_init)
73 .def(self_ns::str(self))
77 def(
"CreateTrd",
CreateTrd, return_value_policy<manage_new_object>());
void SetYHalfLength2(G4double val)
G4double GetXHalfLength2() const
void SetXHalfLength1(G4double val)
void SetYHalfLength1(G4double val)
G4double GetYHalfLength2() const
void SetXHalfLength2(G4double val)
G4double GetXHalfLength1() const
G4double GetYHalfLength1() const
void SetZHalfLength(G4double val)
G4double GetZHalfLength() const
const char * name(G4int ptype)
G4Trd * CreateTrd(const G4String &name, G4double pdx1, G4double pdx2, G4double pdy1, G4double pdy2, G4double pdz)