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