38 #include <boost/python.hpp>
45 using namespace boost::python;
84 CreateTubeVolume, 4, 6);
87 CreateConeVolume, 6, 8);
90 CreateSphereVolume, 3, 7);
111 using namespace pyEZgeom;
119 class_<G4EzVolume>(
"G4EzVolume",
"an easy way of geometry configuration")
120 .def(init<const G4String&>())
124 f_CreateTubeVolume())
126 f_CreateConeVolume())
128 f_CreateSphereVolume())
133 return_value_policy<reference_existing_object>())
136 return_value_policy<reference_existing_object>())
139 f_PlaceIt()[return_value_policy<reference_existing_object>()])
141 f_PlaceIt()[return_value_policy<reference_existing_object>()])
143 f_ReplicateIt()[return_value_policy<reference_existing_object>()])