2 %module(directors="1") ModelGeomAlgo
3 %feature("director:except") {
6 std::cerr << std::endl;
7 throw Swig::DirectorMethodException();
12 #include "ModelGeomAlgo_swig.h"
15 // import other modules
17 %import "GeomDataAPI.i"
21 // to avoid error on this
22 #define MODELGEOMALGO_EXPORT
24 // standard definitions
26 %include "std_string.i"
28 %include "std_shared_ptr.i"
32 // For Point2D.method()
33 %shared_ptr(ModelAPI_Point2D)
35 // all supported interfaces
36 %include "ModelGeomAlgo_Point2D.h"