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

Go to the source code of this file.

Namespaces

 pyG4TwistedTrap
 

Functions

G4TwistedTrappyG4TwistedTrap::f1_CreateTwistedTrap (const G4String &name, G4double pPhiTwist, G4double pDx1, G4double pDx2, G4double pDy, G4double pDz)
 
G4TwistedTrappyG4TwistedTrap::f2_CreateTwistedTrap (const G4String &name, G4double pPhiTwist, G4double pDz, G4double pTheta, G4double pPhi, G4double pDy1, G4double pDx1, G4double pDx2, G4double pDy2, G4double pDx3, G4double pDx4, G4double pAlph)
 
void export_G4TwistedTrap ()
 

Function Documentation

void export_G4TwistedTrap ( )

Definition at line 70 of file pyG4TwistedTrap.cc.

71 {
72  class_<G4TwistedTrap, G4TwistedTrap*, bases<G4VSolid> >
73  ("G4TwistedTrap", "twisted trapezoid solid class", no_init)
74  // constructors
75  .def(init<const G4String&, G4double, G4double, G4double,
76  G4double, G4double>())
77  .def(init<const G4String&, G4double, G4double, G4double,
80  G4double, G4double>())
81  // operators
82  .def(self_ns::str(self))
83  ;
84 
85  // Create solid
86  def("CreateTwistedTap", f1_CreateTwistedTrap,
87  return_value_policy<manage_new_object>());
88  def("CreateTwistedTap", f2_CreateTwistedTrap,
89  return_value_policy<manage_new_object>());
90 
91 }
G4TwistedTrap * f1_CreateTwistedTrap(const G4String &name, G4double pPhiTwist, G4double pDx1, G4double pDx2, G4double pDy, G4double pDz)
G4TwistedTrap * f2_CreateTwistedTrap(const G4String &name, G4double pPhiTwist, G4double pDz, G4double pTheta, G4double pPhi, G4double pDy1, G4double pDx1, G4double pDx2, G4double pDy2, G4double pDx3, G4double pDx4, G4double pAlph)
double G4double
Definition: G4Types.hh:76

Here is the call graph for this function:

Here is the caller graph for this function: