32 #include <boost/python.hpp> 33 #include "G4Version.hh" 34 #include "G4VSolid.hh" 43 class_<G4VSolid, G4VSolid*, boost::noncopyable>
44 (
"G4VSolid",
"solid class", no_init)
46 .def(
"GetName", &G4VSolid::GetName)
47 .def(
"SetName", &G4VSolid::SetName)
48 .def(
"DumpInfo", &G4VSolid::DumpInfo)
50 .def(
"GetCubicVolume", &G4VSolid::GetCubicVolume)
51 #if G4VERSION_NUMBER >=820 52 .def(
"GetSurfaceArea", &G4VSolid::GetSurfaceArea)
54 #if G4VERSION_NUMBER >=800 55 .def(
"GetPointOnSurface", &G4VSolid::GetPointOnSurface)