X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI.i;h=762d6b44f97f561078f1fb0f29efc92b65d58d0f;hb=f0cec241aae9ca16d86e166f45cb5c4987d2c792;hp=df680e9df416c165e44136df3c73ac846d1e97b8;hpb=c9b9d4d4af3b96661c280a7e3ab829f26b5c7b95;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI.i b/src/GeomAlgoAPI/GeomAlgoAPI.i index df680e9df..762d6b44f 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI.i +++ b/src/GeomAlgoAPI/GeomAlgoAPI.i @@ -4,6 +4,9 @@ #include "GeomAlgoAPI_swig.h" %} +// import other modules +%import "GeomAPI.i" + // to avoid error on this #define GEOMALGOAPI_EXPORT @@ -13,13 +16,33 @@ %include "std_list.i" %include "std_shared_ptr.i" +// shared pointers +%shared_ptr(GeomAlgoAPI_Boolean) +%shared_ptr(GeomAlgoAPI_Intersection) +%shared_ptr(GeomAlgoAPI_MakeShape) +%shared_ptr(GeomAlgoAPI_MakeShapeCustom) +%shared_ptr(GeomAlgoAPI_MakeShapeList) +%shared_ptr(GeomAlgoAPI_MakeSweep) +%shared_ptr(GeomAlgoAPI_PaveFiller) +%shared_ptr(GeomAlgoAPI_Pipe) +%shared_ptr(GeomAlgoAPI_Placement) +%shared_ptr(GeomAlgoAPI_Prism) +%shared_ptr(GeomAlgoAPI_Revolution) +%shared_ptr(GeomAlgoAPI_Rotation) +%shared_ptr(GeomAlgoAPI_Sewing) +%shared_ptr(GeomAlgoAPI_ShapeBuilder) +%shared_ptr(GeomAlgoAPI_Translation) +%shared_ptr(GeomAlgoAPI_Transform) +%shared_ptr(GeomAlgoAPI_Box) +%shared_ptr(GeomAlgoAPI_BoxPoints) + // all supported interfaces +%include "GeomAlgoAPI_MakeShape.h" %include "GeomAlgoAPI_Boolean.h" %include "GeomAlgoAPI_CompoundBuilder.h" %include "GeomAlgoAPI_DFLoader.h" %include "GeomAlgoAPI_EdgeBuilder.h" %include "GeomAlgoAPI_FaceBuilder.h" -%include "GeomAlgoAPI_MakeShape.h" %include "GeomAlgoAPI_MakeShapeCustom.h" %include "GeomAlgoAPI_MakeShapeList.h" %include "GeomAlgoAPI_MakeSweep.h" @@ -41,6 +64,12 @@ %include "GeomAlgoAPI_Transform.h" %include "GeomAlgoAPI_PaveFiller.h" %include "GeomAlgoAPI_Intersection.h" +%include "GeomAlgoAPI_Pipe.h" +%include "GeomAlgoAPI_WireBuilder.h" +%include "GeomAlgoAPI_Sewing.h" +%include "GeomAlgoAPI_ShapeBuilder.h" +%include "GeomAlgoAPI_Exception.h" +%include "GeomAlgoAPI_ShapeAPI.h" %typemap(out) std::list< std::shared_ptr< GeomAPI_Shape > >::value_type & { $result = SWIG_NewPointerObj(SWIG_as_voidptr(new std::shared_ptr(*$1)), $descriptor(std::shared_ptr *), SWIG_POINTER_OWN | 0 );