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

Go to the source code of this file.

Namespaces

 pyG4Tet
 

Functions

G4TetpyG4Tet::CreateTet (const G4String &name, G4ThreeVector anchor, G4ThreeVector p2, G4ThreeVector p3, G4ThreeVector p4)
 
void export_G4Tet ()
 

Function Documentation

void export_G4Tet ( )

Definition at line 55 of file pyG4Tet.cc.

56 {
57  class_<G4Tet, G4Tet*, bases<G4VSolid> >
58  ("G4Tet", "tetrahedra solid class", no_init)
59  // constructors
61  G4ThreeVector>())
62  // operators
63  .def(self_ns::str(self))
64  ;
65 
66  // Create solid
67  def("CreateTet", CreateTet, return_value_policy<manage_new_object>());
68 
69 }
G4Tet * CreateTet(const G4String &name, G4ThreeVector anchor, G4ThreeVector p2, G4ThreeVector p3, G4ThreeVector p4)
Definition: pyG4Tet.cc:42

Here is the call graph for this function:

Here is the caller graph for this function: