Salome HOME
Merge branch 'Results_Hierarchy'
[modules/shaper.git] / src / GeomAPI / GeomAPI.i
1 // Copyright (C) 2014-2017  CEA/DEN, EDF R&D
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or
18 // email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
19 //
20
21 /* GeomAPI.i */
22 %module GeomAPI
23 %{
24   #include "GeomAPI_swig.h"
25 %}
26
27 // to avoid error on this
28 #define GEOMAPI_EXPORT
29
30 // standard definitions
31 %include "typemaps.i"
32 %include "std_string.i"
33 %include "std_shared_ptr.i"
34
35 // shared pointers
36 %shared_ptr(GeomAPI_AISObject)
37 %shared_ptr(GeomAPI_Ax1)
38 %shared_ptr(GeomAPI_Ax2)
39 %shared_ptr(GeomAPI_Ax3)
40 %shared_ptr(GeomAPI_Circ)
41 %shared_ptr(GeomAPI_Circ2d)
42 %shared_ptr(GeomAPI_Curve)
43 %shared_ptr(GeomAPI_DataMapOfShapeMapOfShapes)
44 %shared_ptr(GeomAPI_DataMapOfShapeShape)
45 %shared_ptr(GeomAPI_Dir)
46 %shared_ptr(GeomAPI_Dir2d)
47 %shared_ptr(GeomAPI_Edge)
48 %shared_ptr(GeomAPI_Face)
49 %shared_ptr(GeomAPI_ICustomPrs)
50 %shared_ptr(GeomAPI_Interface)
51 %shared_ptr(GeomAPI_IPresentable)
52 %shared_ptr(GeomAPI_Lin)
53 %shared_ptr(GeomAPI_Lin2d)
54 %shared_ptr(GeomAPI_PlanarEdges)
55 %shared_ptr(GeomAPI_Pln)
56 %shared_ptr(GeomAPI_Pnt)
57 %shared_ptr(GeomAPI_Pnt2d)
58 %shared_ptr(GeomAPI_Shape)
59 %shared_ptr(GeomAPI_ShapeExplorer)
60 %shared_ptr(GeomAPI_ShapeIterator)
61 %shared_ptr(GeomAPI_Vertex)
62 %shared_ptr(GeomAPI_XY)
63 %shared_ptr(GeomAPI_XYZ)
64 %shared_ptr(GeomAPI_Trsf)
65 %shared_ptr(GeomAPI_Wire)
66 %shared_ptr(GeomAPI_Shell)
67 %shared_ptr(GeomAPI_Solid)
68 %shared_ptr(GeomAPI_Box)
69
70
71 // all supported interfaces
72 %include "GeomAPI_Interface.h"
73 %include "GeomAPI_Shape.h"
74 %include "GeomAPI_AISObject.h"
75 %include "GeomAPI_Ax1.h"
76 %include "GeomAPI_Ax2.h"
77 %include "GeomAPI_Ax3.h"
78 %include "GeomAPI_Circ.h"
79 %include "GeomAPI_Circ2d.h"
80 %include "GeomAPI_Curve.h"
81 %include "GeomAPI_DataMapOfShapeMapOfShapes.h"
82 %include "GeomAPI_DataMapOfShapeShape.h"
83 %include "GeomAPI_Dir.h"
84 %include "GeomAPI_Dir2d.h"
85 %include "GeomAPI_Edge.h"
86 %include "GeomAPI_Face.h"
87 %include "GeomAPI_ICustomPrs.h"
88 %include "GeomAPI_IPresentable.h"
89 %include "GeomAPI_Lin.h"
90 %include "GeomAPI_Lin2d.h"
91 %include "GeomAPI_PlanarEdges.h"
92 %include "GeomAPI_Pln.h"
93 %include "GeomAPI_Pnt.h"
94 %include "GeomAPI_Pnt2d.h"
95 %include "GeomAPI_ShapeExplorer.h"
96 %include "GeomAPI_ShapeIterator.h"
97 %include "GeomAPI_Vertex.h"
98 %include "GeomAPI_XY.h"
99 %include "GeomAPI_XYZ.h"
100 %include "GeomAPI_Trsf.h"
101 %include "GeomAPI_Wire.h"
102 %include "GeomAPI_Shell.h"
103 %include "GeomAPI_Solid.h"
104 %include "GeomAPI_Box.h"