Geant4-11
Namespaces | Functions
pyG4Tet.cc File Reference
#include <boost/python.hpp>
#include "G4Tet.hh"

Go to the source code of this file.

Namespaces

namespace  pyG4Tet
 

Functions

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

Function Documentation

◆ export_G4Tet()

void export_G4Tet ( )

Definition at line 54 of file pyG4Tet.cc.

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

References pyG4Tet::CreateTet().

Referenced by BOOST_PYTHON_MODULE().