32 #include <boost/python.hpp>
35 using namespace boost::python;
40 namespace pyG4Sphere {
47 return new G4Sphere(name, pRmin, pRmax, pSPhi, pDPhi, pSTheta, pDTheta);
52 using namespace pyG4Sphere;
59 class_<G4Sphere, G4Sphere*, bases<G4VSolid> >
60 (
"G4Sphere",
"Sphere solid class", no_init)
78 .def(self_ns::str(
self))
82 def(
"CreateSphere",
CreateSphere, return_value_policy<manage_new_object>());
void SetStartPhiAngle(G4double newSphi, G4bool trig=true)
G4double GetInsideRadius() const
G4double GetDeltaPhiAngle() const
void SetDeltaThetaAngle(G4double newDTheta)
void SetStartThetaAngle(G4double newSTheta)
G4double GetStartThetaAngle() const
void SetOuterRadius(G4double newRmax)
void SetInsideRadius(G4double newRmin)
G4Sphere * CreateSphere(const G4String &name, G4double pRmin, G4double pRmax, G4double pSPhi, G4double pDPhi, G4double pSTheta, G4double pDTheta)
void SetDeltaPhiAngle(G4double newDphi)
G4double GetOuterRadius() const
G4double GetStartPhiAngle() const
G4double GetDeltaThetaAngle() const