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>());
G4double GetInnerRadiusMinusZ() const
void SetOuterRadiusPlusZ(G4double Rmax2)
G4double GetOuterRadiusMinusZ() const
G4double GetOuterRadiusPlusZ() const
G4double GetZHalfLength() const
void SetOuterRadiusMinusZ(G4double Rmax1)
void SetStartPhiAngle(G4double newSPhi, G4bool trig=true)
G4Cons * CreateCons(const G4String &name, G4double pRmin1, G4double pRmax1, G4double pRmin2, G4double pRmax2, G4double pDz, G4double pSPhi, G4double pDPhi)
void SetZHalfLength(G4double newDz)
G4double GetInnerRadiusPlusZ() const
void SetDeltaPhiAngle(G4double newDPhi)
void SetInnerRadiusPlusZ(G4double Rmin2)
G4double GetDeltaPhiAngle() const
G4double GetStartPhiAngle() const
void SetInnerRadiusMinusZ(G4double Rmin1)