Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
pyG4Tet.cc File Reference
#include <boost/python.hpp>
#include "G4Tet.hh"

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.

References pyG4Tet::CreateTet().

Referenced by BOOST_PYTHON_MODULE().

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