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

Go to the source code of this file.

Functions

void export_G4VSolid ()
 

Function Documentation

void export_G4VSolid ( )

Definition at line 41 of file pyG4VSolid.cc.

42 {
43  class_<G4VSolid, G4VSolid*, boost::noncopyable>
44  ("G4VSolid", "solid class", no_init)
45  // ---
46  .def("GetName", &G4VSolid::GetName)
47  .def("SetName", &G4VSolid::SetName)
48  .def("DumpInfo", &G4VSolid::DumpInfo)
49 
50  .def("GetCubicVolume", &G4VSolid::GetCubicVolume)
51 #if G4VERSION_NUMBER >=820
52  .def("GetSurfaceArea", &G4VSolid::GetSurfaceArea)
53 #endif
54 #if G4VERSION_NUMBER >=800
55  .def("GetPointOnSurface", &G4VSolid::GetPointOnSurface)
56 #endif
57  // operators
58  .def(self == self)
59  ;
60 }
G4String GetName() const
virtual G4double GetCubicVolume()
Definition: G4VSolid.cc:189
void DumpInfo() const
void SetName(const G4String &name)
virtual G4ThreeVector GetPointOnSurface() const
Definition: G4VSolid.cc:153
virtual G4double GetSurfaceArea()
Definition: G4VSolid.cc:251

Here is the call graph for this function:

Here is the caller graph for this function: