Salome HOME
Fix for issue #1000
[modules/shaper.git] / src / GeomAPI / GeomAPI.i
1 /* GeomAPI.i */
2 %module GeomAPI
3 %{
4   #include "GeomAPI.h"
5   #include "GeomAPI_AISObject.h"
6   #include "GeomAPI_Ax1.h"
7   #include "GeomAPI_Ax2.h"
8   #include "GeomAPI_Ax3.h"
9   #include "GeomAPI_Circ.h"
10   #include "GeomAPI_Circ2d.h"
11   #include "GeomAPI_Curve.h"
12   #include "GeomAPI_DataMapOfShapeMapOfShapes.h"
13   #include "GeomAPI_DataMapOfShapeShape.h"
14   #include "GeomAPI_Dir.h"
15   #include "GeomAPI_Dir2d.h"
16   #include "GeomAPI_Edge.h"
17   #include "GeomAPI_Face.h"
18   #include "GeomAPI_ICustomPrs.h"
19   #include "GeomAPI_Interface.h"
20   #include "GeomAPI_IPresentable.h"
21   #include "GeomAPI_Lin.h"
22   #include "GeomAPI_Lin2d.h"
23   #include "GeomAPI_PlanarEdges.h"
24   #include "GeomAPI_Pln.h"
25   #include "GeomAPI_Pnt.h"
26   #include "GeomAPI_Pnt2d.h"
27   #include "GeomAPI_Shape.h"
28   #include "GeomAPI_ShapeExplorer.h"
29   #include "GeomAPI_Vertex.h"
30   #include "GeomAPI_XY.h"
31   #include "GeomAPI_XYZ.h"
32   #include "GeomAPI_Trsf.h"
33
34   #include <memory>
35   #include <string>
36 %}
37
38 // to avoid error on this
39 #define GEOMAPI_EXPORT
40
41 // standard definitions
42 %include "typemaps.i"
43 %include "std_string.i"
44 %include "std_shared_ptr.i"
45
46 // shared pointers
47 %shared_ptr(GeomAPI_AISObject)
48 %shared_ptr(GeomAPI_Ax1)
49 %shared_ptr(GeomAPI_Ax2)
50 %shared_ptr(GeomAPI_Ax3)
51 %shared_ptr(GeomAPI_Circ)
52 %shared_ptr(GeomAPI_Circ2d)
53 %shared_ptr(GeomAPI_Curve)
54 %shared_ptr(GeomAPI_DataMapOfShapeMapOfShapes)
55 %shared_ptr(GeomAPI_DataMapOfShapeShape)
56 %shared_ptr(GeomAPI_Dir)
57 %shared_ptr(GeomAPI_Dir2d)
58 %shared_ptr(GeomAPI_Edge)
59 %shared_ptr(GeomAPI_Face)
60 %shared_ptr(GeomAPI_ICustomPrs)
61 %shared_ptr(GeomAPI_Interface)
62 %shared_ptr(GeomAPI_IPresentable)
63 %shared_ptr(GeomAPI_Lin)
64 %shared_ptr(GeomAPI_Lin2d)
65 %shared_ptr(GeomAPI_PlanarEdges)
66 %shared_ptr(GeomAPI_Pln)
67 %shared_ptr(GeomAPI_Pnt)
68 %shared_ptr(GeomAPI_Pnt2d)
69 %shared_ptr(GeomAPI_Shape)
70 %shared_ptr(GeomAPI_ShapeExplorer)
71 %shared_ptr(GeomAPI_Vertex)
72 %shared_ptr(GeomAPI_XY)
73 %shared_ptr(GeomAPI_XYZ)
74 %shared_ptr(GeomAPI_Trsf)
75
76
77 // all supported interfaces
78 %include "GeomAPI_Interface.h"
79 %include "GeomAPI_Shape.h"
80 %include "GeomAPI_AISObject.h"
81 %include "GeomAPI_Ax1.h"
82 %include "GeomAPI_Ax2.h"
83 %include "GeomAPI_Ax3.h"
84 %include "GeomAPI_Circ.h"
85 %include "GeomAPI_Circ2d.h"
86 %include "GeomAPI_Curve.h"
87 %include "GeomAPI_DataMapOfShapeMapOfShapes.h"
88 %include "GeomAPI_DataMapOfShapeShape.h"
89 %include "GeomAPI_Dir.h"
90 %include "GeomAPI_Dir2d.h"
91 %include "GeomAPI_Edge.h"
92 %include "GeomAPI_Face.h"
93 %include "GeomAPI_ICustomPrs.h"
94 %include "GeomAPI_IPresentable.h"
95 %include "GeomAPI_Lin.h"
96 %include "GeomAPI_Lin2d.h"
97 %include "GeomAPI_PlanarEdges.h"
98 %include "GeomAPI_Pln.h"
99 %include "GeomAPI_Pnt.h"
100 %include "GeomAPI_Pnt2d.h"
101 %include "GeomAPI_ShapeExplorer.h"
102 %include "GeomAPI_Vertex.h"
103 %include "GeomAPI_XY.h"
104 %include "GeomAPI_XYZ.h"
105 %include "GeomAPI_Trsf.h"