X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI.i;h=86addb6d2af1f326c52ddfe8b62f2872cb07303a;hb=b2a662eec6a0258d51a67ee7e341541e7a710752;hp=f53434b4cd31a7f7ba6364589be72b606fccc8ca;hpb=8a502374084b1bd206a86ef4c42797fb994d8b55;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI.i b/src/GeomAlgoAPI/GeomAlgoAPI.i index f53434b4c..86addb6d2 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI.i +++ b/src/GeomAlgoAPI/GeomAlgoAPI.i @@ -1,22 +1,7 @@ /* GeomAPI.i */ %module GeomAlgoAPI %{ - #include "GeomAlgoAPI.h" - #include "GeomAlgoAPI_Boolean.h" - #include "GeomAlgoAPI_CompoundBuilder.h" - #include "GeomAlgoAPI_DFLoader.h" - #include "GeomAlgoAPI_EdgeBuilder.h" - #include "GeomAlgoAPI_Extrusion.h" - #include "GeomAlgoAPI_FaceBuilder.h" - #include "GeomAlgoAPI_MakeShape.h" - #include "GeomAlgoAPI_PointBuilder.h" - #include "GeomAlgoAPI_Prism.h" - #include "GeomAlgoAPI_ShapeProps.h" - #include "GeomAlgoAPI_SketchBuilder.h" - - #include - #include - #include + #include "GeomAlgoAPI_swig.h" %} // to avoid error on this @@ -33,12 +18,30 @@ %include "GeomAlgoAPI_CompoundBuilder.h" %include "GeomAlgoAPI_DFLoader.h" %include "GeomAlgoAPI_EdgeBuilder.h" -%include "GeomAlgoAPI_Extrusion.h" %include "GeomAlgoAPI_FaceBuilder.h" %include "GeomAlgoAPI_MakeShape.h" +%include "GeomAlgoAPI_MakeShapeCustom.h" +%include "GeomAlgoAPI_MakeShapeList.h" +%include "GeomAlgoAPI_MakeSweep.h" +%include "GeomAlgoAPI_Translation.h" +%include "GeomAlgoAPI_Placement.h" %include "GeomAlgoAPI_PointBuilder.h" %include "GeomAlgoAPI_Prism.h" -%include "GeomAlgoAPI_ShapeProps.h" +%include "GeomAlgoAPI_Revolution.h" +%include "GeomAlgoAPI_Rotation.h" +%include "GeomAlgoAPI_ShapeTools.h" %include "GeomAlgoAPI_SketchBuilder.h" +%include "GeomAlgoAPI_BREPExport.h" +%include "GeomAlgoAPI_IGESExport.h" +%include "GeomAlgoAPI_STEPExport.h" +%include "GeomAlgoAPI_BREPImport.h" +%include "GeomAlgoAPI_IGESImport.h" +%include "GeomAlgoAPI_STEPImport.h" +%include "GeomAlgoAPI_Tools.h" +%include "GeomAlgoAPI_Transform.h" +%include "GeomAlgoAPI_PaveFiller.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 ); +} %template(ShapeList) std::list >; \ No newline at end of file