]> SALOME platform Git repositories - modules/shaper.git/blob - src/GeomAlgoAPI/GeomAlgoAPI.i
Salome HOME
Fixed validators for Boolean and Intersection
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI.i
1 /* GeomAPI.i */
2 %module GeomAlgoAPI
3 %{
4   #include "GeomAlgoAPI_swig.h"
5 %}
6
7 // import other modules
8 %import "GeomAPI.i"
9
10 // to avoid error on this
11 #define GEOMALGOAPI_EXPORT
12
13 // standard definitions
14 %include "typemaps.i"
15 %include "std_string.i"
16 %include "std_list.i"
17 %include "std_shared_ptr.i"
18
19 // shared pointers
20 %shared_ptr(GeomAlgoAPI_Boolean)
21 %shared_ptr(GeomAlgoAPI_Intersection)
22 %shared_ptr(GeomAlgoAPI_MakeShape)
23 %shared_ptr(GeomAlgoAPI_MakeShapeCustom)
24 %shared_ptr(GeomAlgoAPI_MakeShapeList)
25 %shared_ptr(GeomAlgoAPI_MakeSweep)
26 %shared_ptr(GeomAlgoAPI_PaveFiller)
27 %shared_ptr(GeomAlgoAPI_Pipe)
28 %shared_ptr(GeomAlgoAPI_Placement)
29 %shared_ptr(GeomAlgoAPI_Prism)
30 %shared_ptr(GeomAlgoAPI_Revolution)
31 %shared_ptr(GeomAlgoAPI_Rotation)
32 %shared_ptr(GeomAlgoAPI_Sewing)
33 %shared_ptr(GeomAlgoAPI_ShapeBuilder)
34 %shared_ptr(GeomAlgoAPI_Translation)
35 %shared_ptr(GeomAlgoAPI_Transform)
36
37 // all supported interfaces
38 %include "GeomAlgoAPI_MakeShape.h"
39 %include "GeomAlgoAPI_Boolean.h"
40 %include "GeomAlgoAPI_CompoundBuilder.h"
41 %include "GeomAlgoAPI_DFLoader.h"
42 %include "GeomAlgoAPI_EdgeBuilder.h"
43 %include "GeomAlgoAPI_FaceBuilder.h"
44 %include "GeomAlgoAPI_MakeShapeCustom.h"
45 %include "GeomAlgoAPI_MakeShapeList.h"
46 %include "GeomAlgoAPI_MakeSweep.h"
47 %include "GeomAlgoAPI_Translation.h"
48 %include "GeomAlgoAPI_Placement.h"
49 %include "GeomAlgoAPI_PointBuilder.h"
50 %include "GeomAlgoAPI_Prism.h"
51 %include "GeomAlgoAPI_Revolution.h"
52 %include "GeomAlgoAPI_Rotation.h"
53 %include "GeomAlgoAPI_ShapeTools.h"
54 %include "GeomAlgoAPI_SketchBuilder.h"
55 %include "GeomAlgoAPI_BREPExport.h"
56 %include "GeomAlgoAPI_IGESExport.h"
57 %include "GeomAlgoAPI_STEPExport.h"
58 %include "GeomAlgoAPI_BREPImport.h"
59 %include "GeomAlgoAPI_IGESImport.h"
60 %include "GeomAlgoAPI_STEPImport.h"
61 %include "GeomAlgoAPI_Tools.h"
62 %include "GeomAlgoAPI_Transform.h"
63 %include "GeomAlgoAPI_PaveFiller.h"
64 %include "GeomAlgoAPI_Intersection.h"
65 %include "GeomAlgoAPI_Pipe.h"
66 %include "GeomAlgoAPI_WireBuilder.h"
67 %include "GeomAlgoAPI_Sewing.h"
68 %include "GeomAlgoAPI_ShapeBuilder.h"
69
70 %typemap(out) std::list< std::shared_ptr< GeomAPI_Shape > >::value_type & {
71   $result = SWIG_NewPointerObj(SWIG_as_voidptr(new std::shared_ptr<GeomAPI_Shape>(*$1)), $descriptor(std::shared_ptr<GeomAPI_Shape> *), SWIG_POINTER_OWN | 0 );
72 }
73 %template(ShapeList) std::list<std::shared_ptr<GeomAPI_Shape> >;