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