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

Go to the source code of this file.

Namespaces

 pyG4TwistedTrd
 

Functions

G4TwistedTrdpyG4TwistedTrd::CreateTwistedTrd (const G4String &name, G4double pDx1, G4double pDx2, G4double pDy1, G4double pDy2, G4double pDz, G4double pPhiTwist)
 
void export_G4TwistedTrd ()
 

Function Documentation

void export_G4TwistedTrd ( )

Definition at line 57 of file pyG4TwistedTrd.cc.

58 {
59  class_<G4TwistedTrd, G4TwistedTrd*, bases<G4VSolid> >
60  ("G4TwistedTrd", "twisted trapezoid solid class", no_init)
61  // constructors
62  .def(init<const G4String&, G4double, G4double, G4double,
64  // ---
65  .def("GetX1HalfLength", &G4TwistedTrd::GetX1HalfLength)
66  .def("GetX2HalfLength", &G4TwistedTrd::GetX2HalfLength)
67  .def("GetY1HalfLength", &G4TwistedTrd::GetY1HalfLength)
68  .def("GetY2HalfLength", &G4TwistedTrd::GetY2HalfLength)
69  .def("GetZHalfLength", &G4TwistedTrd::GetZHalfLength)
70  .def("GetPhiTwist", &G4TwistedTrd::GetPhiTwist)
71  // operators
72  .def(self_ns::str(self))
73  ;
74 
75  // Create solid
76  def("CreateTwistedTrd", CreateTwistedTrd,
77  return_value_policy<manage_new_object>());
78 
79 }
G4double GetX1HalfLength() const
Definition: G4TwistedTrd.hh:77
G4double GetY1HalfLength() const
Definition: G4TwistedTrd.hh:79
G4double GetX2HalfLength() const
Definition: G4TwistedTrd.hh:78
G4double GetZHalfLength() const
Definition: G4TwistedTrd.hh:81
G4double GetY2HalfLength() const
Definition: G4TwistedTrd.hh:80
G4double GetPhiTwist() const
Definition: G4TwistedTrd.hh:82
G4TwistedTrd * CreateTwistedTrd(const G4String &name, G4double pDx1, G4double pDx2, G4double pDy1, G4double pDy2, G4double pDz, G4double pPhiTwist)
double G4double
Definition: G4Types.hh:76

Here is the call graph for this function:

Here is the caller graph for this function: