Salome HOME
Merge branch 'Dev_1.1.0' of newgeom:newgeom into Dev_1.1.0
[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_Shape.h"
7   #include "GeomAPI_AISObject.h"
8   #include "GeomAPI_Circ2d.h"
9   #include "GeomAPI_Circ.h"
10   #include "GeomAPI_Curve.h"
11   #include "GeomAPI_DataMapOfShapeShape.h"
12   #include "GeomAPI_Dir2d.h"
13   #include "GeomAPI_Dir.h"
14   #include "GeomAPI_Edge.h"
15   #include "GeomAPI_IPresentable.h"
16   #include "GeomAPI_Lin2d.h"
17   #include "GeomAPI_Lin.h"
18   #include "GeomAPI_PlanarEdges.h"
19   #include "GeomAPI_Pln.h"
20   #include "GeomAPI_Pnt2d.h"
21   #include "GeomAPI_Pnt.h"
22   #include "GeomAPI_XY.h"
23   #include "GeomAPI_XYZ.h"
24
25   #include <memory>
26   #include <string>
27 %}
28
29 // to avoid error on this
30 #define GEOMAPI_EXPORT
31
32 // standard definitions
33 %include "typemaps.i"
34 %include "std_string.i"
35 %include "std_shared_ptr.i"
36
37 // shared pointers
38 %shared_ptr(GeomAPI_AISObject)
39 %shared_ptr(GeomAPI_Circ2d)
40 %shared_ptr(GeomAPI_Circ)
41 %shared_ptr(GeomAPI_Curve)
42 %shared_ptr(GeomAPI_DataMapOfShapeShape)
43 %shared_ptr(GeomAPI_Dir2d)
44 %shared_ptr(GeomAPI_Dir)
45 %shared_ptr(GeomAPI_Edge)
46 %shared_ptr(GeomAPI_Interface)
47 %shared_ptr(GeomAPI_IPresentable)
48 %shared_ptr(GeomAPI_Lin2d)
49 %shared_ptr(GeomAPI_Lin)
50 %shared_ptr(GeomAPI_PlanarEdges)
51 %shared_ptr(GeomAPI_Pln)
52 %shared_ptr(GeomAPI_Pnt2d)
53 %shared_ptr(GeomAPI_Pnt)
54 %shared_ptr(GeomAPI_Shape)
55 %shared_ptr(GeomAPI_XY)
56 %shared_ptr(GeomAPI_XYZ)
57
58 // all supported interfaces
59 %include "GeomAPI_Interface.h"
60 %include "GeomAPI_Shape.h"
61 %include "GeomAPI_AISObject.h"
62 %include "GeomAPI_Circ2d.h"
63 %include "GeomAPI_Circ.h"
64 %include "GeomAPI_Curve.h"
65 %include "GeomAPI_DataMapOfShapeShape.h"
66 %include "GeomAPI_Dir2d.h"
67 %include "GeomAPI_Dir.h"
68 %include "GeomAPI_Edge.h"
69 %include "GeomAPI_IPresentable.h"
70 %include "GeomAPI_Lin2d.h"
71 %include "GeomAPI_Lin.h"
72 %include "GeomAPI_PlanarEdges.h"
73 %include "GeomAPI_Pln.h"
74 %include "GeomAPI_Pnt2d.h"
75 %include "GeomAPI_Pnt.h"
76 %include "GeomAPI_XY.h"
77 %include "GeomAPI_XYZ.h"