LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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 40 of file pyG4VSolid.cc.

Referenced by BOOST_PYTHON_MODULE().

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