Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / GeomAPI / GeomAPI.i
1 /* GeomAPI.i */
2 %module GeomAPI
3 %{
4   #include "GeomAPI.h"
5   #include "GeomAPI_Interface.h"
6   #include "GeomAPI_Pnt.h"
7   #include "GeomAPI_Dir.h"
8   #include "GeomAPI_Pln.h"
9   #include "GeomAPI_Shape.h"
10 %}
11
12 // to avoid error on this
13 #define GEOMAPI_EXPORT
14
15 // standard definitions
16 %include "typemaps.i"
17 %include "std_string.i"
18 %include "std_shared_ptr.i"
19
20 // shared pointers
21 %shared_ptr(GeomAPI_Interface)
22 %shared_ptr(GeomAPI_Pnt)
23 %shared_ptr(GeomAPI_Dir)
24 %shared_ptr(GeomAPI_Pln)
25 %shared_ptr(GeomAPI_Shape)
26
27 // all supported interfaces
28 %include "GeomAPI_Interface.h"
29 %include "GeomAPI_Pnt.h"
30 %include "GeomAPI_Dir.h"
31 %include "GeomAPI_Pln.h"
32 %include "GeomAPI_Shape.h"