Salome HOME
Merge branch 'master' of newgeom:newgeom.git into BR_PYTHON_PLUGIN
[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
26 // to avoid error on this
27 #define GEOMAPI_EXPORT
28
29 // standard definitions
30 %include "typemaps.i"
31 %include "std_string.i"
32 %include "std_shared_ptr.i"
33
34 // shared pointers
35 %shared_ptr(GeomAPI_AISObject)
36 %shared_ptr(GeomAPI_Circ2d)
37 %shared_ptr(GeomAPI_Circ)
38 %shared_ptr(GeomAPI_Curve)
39 %shared_ptr(GeomAPI_DataMapOfShapeShape)
40 %shared_ptr(GeomAPI_Dir2d)
41 %shared_ptr(GeomAPI_Dir)
42 %shared_ptr(GeomAPI_Edge)
43 %shared_ptr(GeomAPI_Interface)
44 %shared_ptr(GeomAPI_IPresentable)
45 %shared_ptr(GeomAPI_Lin2d)
46 %shared_ptr(GeomAPI_Lin)
47 %shared_ptr(GeomAPI_PlanarEdges)
48 %shared_ptr(GeomAPI_Pln)
49 %shared_ptr(GeomAPI_Pnt2d)
50 %shared_ptr(GeomAPI_Pnt)
51 %shared_ptr(GeomAPI_Shape)
52 %shared_ptr(GeomAPI_XY)
53 %shared_ptr(GeomAPI_XYZ)
54
55 // all supported interfaces
56 %include "GeomAPI_Interface.h"
57 %include "GeomAPI_Shape.h"
58 %include "GeomAPI_AISObject.h"
59 %include "GeomAPI_Circ2d.h"
60 %include "GeomAPI_Circ.h"
61 %include "GeomAPI_Curve.h"
62 %include "GeomAPI_DataMapOfShapeShape.h"
63 %include "GeomAPI_Dir2d.h"
64 %include "GeomAPI_Dir.h"
65 %include "GeomAPI_Edge.h"
66 %include "GeomAPI_IPresentable.h"
67 %include "GeomAPI_Lin2d.h"
68 %include "GeomAPI_Lin.h"
69 %include "GeomAPI_PlanarEdges.h"
70 %include "GeomAPI_Pln.h"
71 %include "GeomAPI_Pnt2d.h"
72 %include "GeomAPI_Pnt.h"
73 %include "GeomAPI_XY.h"
74 %include "GeomAPI_XYZ.h"