Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyG4Ellipsoid.cc File Reference
#include <boost/python.hpp>
#include "G4Ellipsoid.hh"
Include dependency graph for pyG4Ellipsoid.cc:

Go to the source code of this file.

Namespaces

 pyG4Ellipsoid
 

Functions

G4EllipsoidpyG4Ellipsoid::CreateEllipsoid (const G4String &name, G4double pxSemiAxis, G4double pySemiAxis, G4double pzSemiAxis, G4double pzBottomCut=0, G4double pzTopCut=0)
 
void export_G4Ellipsoid ()
 

Function Documentation

void export_G4Ellipsoid ( )

Definition at line 62 of file pyG4Ellipsoid.cc.

63 {
64  class_<G4Ellipsoid, G4Ellipsoid*, bases<G4VSolid> >
65  ("G4Ellipsoid", "ellipsoid class", no_init)
66  // constructors
67  .def(init<const G4String&, G4double, G4double, G4double>())
68  .def(init<const G4String&, G4double, G4double, G4double, G4double>())
69  .def(init<const G4String&, G4double, G4double, G4double, G4double,
70  G4double>())
71  // ---
72  .def("GetSemiAxisMax", &G4Ellipsoid::GetSemiAxisMax)
73  .def("GetZBottomCut", &G4Ellipsoid::GetZBottomCut)
74  .def("GetZTopCut", &G4Ellipsoid::GetZTopCut)
75  .def("SetSemiAxis", &G4Ellipsoid::SetSemiAxis)
76  .def("SetZCuts", &G4Ellipsoid::SetZCuts)
77  // operators
78  .def(self_ns::str(self))
79  ;
80 
81  // Create solid
82  def("CreateEllipsoid", CreateEllipsoid,
83  f_CreateEllipsoid()[return_value_policy<manage_new_object>()]);
84 }
G4double GetZTopCut() const
G4double GetZBottomCut() const
G4Ellipsoid * CreateEllipsoid(const G4String &name, G4double pxSemiAxis, G4double pySemiAxis, G4double pzSemiAxis, G4double pzBottomCut=0, G4double pzTopCut=0)
G4double GetSemiAxisMax(G4int i) const
void SetZCuts(G4double newzBottomCut, G4double newzTopCut)
void SetSemiAxis(G4double x, G4double y, G4double z)
double G4double
Definition: G4Types.hh:76

Here is the call graph for this function:

Here is the caller graph for this function: