Salome HOME
Warning fix
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI.i
1 /* GeomAPI.i */
2 %module GeomAlgoAPI
3 %{
4   #include "GeomAlgoAPI_swig.h"
5 %}
6
7 // to avoid error on this
8 #define GEOMALGOAPI_EXPORT
9
10 // standard definitions
11 %include "typemaps.i"
12 %include "std_string.i"
13 %include "std_list.i"
14 %include "std_shared_ptr.i"
15
16 // all supported interfaces
17 %include "GeomAlgoAPI_MakeShape.h"
18 %include "GeomAlgoAPI_Boolean.h"
19 %include "GeomAlgoAPI_CompoundBuilder.h"
20 %include "GeomAlgoAPI_DFLoader.h"
21 %include "GeomAlgoAPI_EdgeBuilder.h"
22 %include "GeomAlgoAPI_FaceBuilder.h"
23 %include "GeomAlgoAPI_MakeShapeCustom.h"
24 %include "GeomAlgoAPI_MakeShapeList.h"
25 %include "GeomAlgoAPI_MakeSweep.h"
26 %include "GeomAlgoAPI_Translation.h"
27 %include "GeomAlgoAPI_Placement.h"
28 %include "GeomAlgoAPI_PointBuilder.h"
29 %include "GeomAlgoAPI_Prism.h"
30 %include "GeomAlgoAPI_Revolution.h"
31 %include "GeomAlgoAPI_Rotation.h"
32 %include "GeomAlgoAPI_ShapeTools.h"
33 %include "GeomAlgoAPI_SketchBuilder.h"
34 %include "GeomAlgoAPI_BREPExport.h"
35 %include "GeomAlgoAPI_IGESExport.h"
36 %include "GeomAlgoAPI_STEPExport.h"
37 %include "GeomAlgoAPI_BREPImport.h"
38 %include "GeomAlgoAPI_IGESImport.h"
39 %include "GeomAlgoAPI_STEPImport.h"
40 %include "GeomAlgoAPI_Tools.h"
41 %include "GeomAlgoAPI_Transform.h"
42 %include "GeomAlgoAPI_PaveFiller.h"
43 %include "GeomAlgoAPI_Intersection.h"
44
45 %typemap(out) std::list< std::shared_ptr< GeomAPI_Shape > >::value_type & {
46   $result = SWIG_NewPointerObj(SWIG_as_voidptr(new std::shared_ptr<GeomAPI_Shape>(*$1)), $descriptor(std::shared_ptr<GeomAPI_Shape> *), SWIG_POINTER_OWN | 0 );
47 }
48 %template(ShapeList) std::list<std::shared_ptr<GeomAPI_Shape> >;