]> SALOME platform Git repositories - modules/shaper.git/blob - src/SketchAPI/SketchAPI.i
Salome HOME
Issue #1648: Dump Python in the High Level Parameterized Geometry API
[modules/shaper.git] / src / SketchAPI / SketchAPI.i
1 /* SketchAPI.i */
2
3 %module SketchAPI
4
5 %{
6   #include "SketchAPI_swig.h"
7 %}
8
9 %include "doxyhelp.i"
10
11 // import other modules
12 %import "ModelHighAPI.i"
13
14 // to avoid error on this
15 #define SKETCHAPI_EXPORT
16
17 // standard definitions
18 %include "typemaps.i"
19 %include "std_list.i"
20 %include "std_shared_ptr.i"
21
22 // shared pointers
23 %shared_ptr(SketchAPI_Arc)
24 %shared_ptr(SketchAPI_Circle)
25 %shared_ptr(SketchAPI_Constraint)
26 %shared_ptr(SketchAPI_IntersectionPoint)
27 %shared_ptr(SketchAPI_Line)
28 %shared_ptr(SketchAPI_Mirror)
29 %shared_ptr(SketchAPI_Sketch)
30 %shared_ptr(SketchAPI_SketchEntity)
31 %shared_ptr(SketchAPI_Point)
32 %shared_ptr(SketchAPI_Projection)
33 %shared_ptr(SketchAPI_Rectangle)
34 %shared_ptr(SketchAPI_Rotation)
35 %shared_ptr(SketchAPI_Translation)
36
37 // all supported interfaces (the order is very important according dependencies: base class first)
38 %include "SketchAPI_SketchEntity.h"
39 %include "SketchAPI_Point.h"
40 %include "SketchAPI_IntersectionPoint.h"
41 %include "SketchAPI_Line.h"
42 %include "SketchAPI_Circle.h"
43 %include "SketchAPI_Arc.h"
44 %include "SketchAPI_Projection.h"
45 %include "SketchAPI_Mirror.h"
46 %include "SketchAPI_Translation.h"
47 %include "SketchAPI_Rectangle.h"
48 %include "SketchAPI_Rotation.h"
49 %include "SketchAPI_Sketch.h"
50 %include "SketchAPI_Constraint.h"