32 #include <boost/python.hpp>
35 using namespace boost::python;
46 return new G4Cons(name, pRmin1, pRmax1, pRmin2, pRmax2, pDz, pSPhi, pDPhi);
51 using namespace pyG4Cons;
58 class_<G4Cons, G4Cons*, bases<G4VSolid> >
59 (
"G4Cons",
"Cone solid class", no_init)
79 .def(self_ns::str(
self))
83 def(
"CreateCons",
CreateCons, return_value_policy<manage_new_object>());
void SetZHalfLength(G4double newDz)
void SetInnerRadiusMinusZ(G4double Rmin1)
void SetOuterRadiusPlusZ(G4double Rmax2)
G4double GetOuterRadiusMinusZ() const
void SetDeltaPhiAngle(G4double newDPhi)
G4Cons * CreateCons(const G4String &name, G4double pRmin1, G4double pRmax1, G4double pRmin2, G4double pRmax2, G4double pDz, G4double pSPhi, G4double pDPhi)
G4double GetStartPhiAngle() const
G4double GetInnerRadiusPlusZ() const
void SetOuterRadiusMinusZ(G4double Rmax1)
void SetStartPhiAngle(G4double newSPhi, G4bool trig=true)
G4double GetInnerRadiusMinusZ() const
void SetInnerRadiusPlusZ(G4double Rmin2)
G4double GetOuterRadiusPlusZ() const
G4double GetZHalfLength() const
G4double GetDeltaPhiAngle() const