]> SALOME platform Git repositories - modules/shaper.git/blob - src/ModelGeomAlgo/ModelGeomAlgo.i
Salome HOME
Porting to SALOME_8.2.0 : Debug visualization selection for AIS_Trihedron axes.
[modules/shaper.git] / src / ModelGeomAlgo / ModelGeomAlgo.i
1 /* ModelAPI.i */
2 %module(directors="1") ModelGeomAlgo
3 %feature("director:except") {
4     if ($error != NULL) {
5       PyErr_Print();
6       std::cerr << std::endl;
7       throw Swig::DirectorMethodException();
8     }
9 }
10
11 %{
12   #include "ModelGeomAlgo_swig.h"
13 %}
14
15 // import other modules
16 %import "GeomAPI.i"
17 %import "GeomDataAPI.i"
18 %import "ModelAPI.i"
19
20
21 // to avoid error on this
22 #define MODELGEOMALGO_EXPORT
23
24 // standard definitions
25 %include "typemaps.i"
26 %include "std_string.i"
27 %include "std_list.i"
28 %include "std_shared_ptr.i"
29 %include "std_set.i"
30
31 // shared pointers
32 // For Point2D.method()
33 %shared_ptr(ModelAPI_Point2D)
34
35 // all supported interfaces
36 %include "ModelGeomAlgo_Point2D.h"
37