32 #include <boost/python.hpp> 33 #include "G4ChordFinder.hh" 34 #include "G4MagneticField.hh" 54 class_<G4ChordFinder, G4ChordFinder*, boost::noncopyable>
55 (
"G4ChordFinder",
"chord finder class", no_init)
57 .def(init<G4MagInt_Driver*>())
58 .def(init<G4MagneticField*>())
59 .def(init<G4MagneticField*, G4double>())
60 .def(init<G4MagneticField*, G4double, G4MagIntegratorStepper*>())
62 .def(
"GetDeltaChord", &G4ChordFinder::GetDeltaChord)
63 .def(
"SetDeltaChord", &G4ChordFinder::SetDeltaChord)
65 .def(
"PrintStatistics", &G4ChordFinder::PrintStatistics)
66 .def(
"SetVerbose", &G4ChordFinder::SetVerbose, f_SetVerbose())
void export_G4ChordFinder()
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateTubeVolume, CreateTubeVolume, 4, 6) BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateConeVolume