LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
pyG4VSolid.cc File Reference
#include <boost/python.hpp>
#include "G4Version.hh"
#include "G4VSolid.hh"

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.

Referenced by BOOST_PYTHON_MODULE().

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 }