]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #634 API must be wrapped by SWIG
authornds <natalia.donis@opencascade.com>
Thu, 25 Jun 2015 10:33:35 +0000 (13:33 +0300)
committernds <natalia.donis@opencascade.com>
Thu, 25 Jun 2015 10:33:35 +0000 (13:33 +0300)
BREP/IGES/STEP Import/Exort only a not wrapped.

src/GeomAPI/GeomAPI.i
src/GeomAlgoAPI/GeomAlgoAPI.i

index 8fff6a79f047555ad2466156872eac3170792bb6..95c6a128a30394602e9ef47af8a048b197911a93 100644 (file)
@@ -2,24 +2,29 @@
 %module GeomAPI
 %{
   #include "GeomAPI.h"
-  #include "GeomAPI_Interface.h"
-  #include "GeomAPI_Shape.h"
-  #include "GeomAPI_ShapeExplorer.h"
   #include "GeomAPI_AISObject.h"
-  #include "GeomAPI_Circ2d.h"
+  #include "GeomAPI_Ax1.h"
+  #include "GeomAPI_Ax3.h"
   #include "GeomAPI_Circ.h"
+  #include "GeomAPI_Circ2d.h"
   #include "GeomAPI_Curve.h"
   #include "GeomAPI_DataMapOfShapeShape.h"
-  #include "GeomAPI_Dir2d.h"
   #include "GeomAPI_Dir.h"
+  #include "GeomAPI_Dir2d.h"
   #include "GeomAPI_Edge.h"
+  #include "GeomAPI_Face.h"
+  #include "GeomAPI_ICustomPrs.h"
+  #include "GeomAPI_Interface.h"
   #include "GeomAPI_IPresentable.h"
-  #include "GeomAPI_Lin2d.h"
   #include "GeomAPI_Lin.h"
+  #include "GeomAPI_Lin2d.h"
   #include "GeomAPI_PlanarEdges.h"
   #include "GeomAPI_Pln.h"
-  #include "GeomAPI_Pnt2d.h"
   #include "GeomAPI_Pnt.h"
+  #include "GeomAPI_Pnt2d.h"
+  #include "GeomAPI_Shape.h"
+  #include "GeomAPI_ShapeExplorer.h"
+  #include "GeomAPI_Vertex.h"
   #include "GeomAPI_XY.h"
   #include "GeomAPI_XYZ.h"
 
 
 // shared pointers
 %shared_ptr(GeomAPI_AISObject)
-%shared_ptr(GeomAPI_Circ2d)
+%shared_ptr(GeomAPI_Ax1)
+%shared_ptr(GeomAPI_Ax3)
 %shared_ptr(GeomAPI_Circ)
+%shared_ptr(GeomAPI_Circ2d)
 %shared_ptr(GeomAPI_Curve)
 %shared_ptr(GeomAPI_DataMapOfShapeShape)
-%shared_ptr(GeomAPI_Dir2d)
 %shared_ptr(GeomAPI_Dir)
+%shared_ptr(GeomAPI_Dir2d)
 %shared_ptr(GeomAPI_Edge)
+%shared_ptr(GeomAPI_Face)
+%shared_ptr(GeomAPI_ICustomPrs)
 %shared_ptr(GeomAPI_Interface)
 %shared_ptr(GeomAPI_IPresentable)
-%shared_ptr(GeomAPI_Lin2d)
 %shared_ptr(GeomAPI_Lin)
+%shared_ptr(GeomAPI_Lin2d)
 %shared_ptr(GeomAPI_PlanarEdges)
 %shared_ptr(GeomAPI_Pln)
-%shared_ptr(GeomAPI_Pnt2d)
 %shared_ptr(GeomAPI_Pnt)
+%shared_ptr(GeomAPI_Pnt2d)
 %shared_ptr(GeomAPI_Shape)
 %shared_ptr(GeomAPI_ShapeExplorer)
+%shared_ptr(GeomAPI_Vertex)
 %shared_ptr(GeomAPI_XY)
 %shared_ptr(GeomAPI_XYZ)
 
+
 // all supported interfaces
-%include "GeomAPI_Interface.h"
-%include "GeomAPI_Shape.h"
-%include "GeomAPI_ShapeExplorer.h"
 %include "GeomAPI_AISObject.h"
-%include "GeomAPI_Circ2d.h"
+%include "GeomAPI_Ax1.h"
+%include "GeomAPI_Ax3.h"
 %include "GeomAPI_Circ.h"
+%include "GeomAPI_Circ2d.h"
 %include "GeomAPI_Curve.h"
 %include "GeomAPI_DataMapOfShapeShape.h"
-%include "GeomAPI_Dir2d.h"
 %include "GeomAPI_Dir.h"
+%include "GeomAPI_Dir2d.h"
 %include "GeomAPI_Edge.h"
+%include "GeomAPI_Face.h"
+%include "GeomAPI_ICustomPrs.h"
+%include "GeomAPI_Interface.h"
 %include "GeomAPI_IPresentable.h"
-%include "GeomAPI_Lin2d.h"
 %include "GeomAPI_Lin.h"
+%include "GeomAPI_Lin2d.h"
 %include "GeomAPI_PlanarEdges.h"
 %include "GeomAPI_Pln.h"
-%include "GeomAPI_Pnt2d.h"
 %include "GeomAPI_Pnt.h"
+%include "GeomAPI_Pnt2d.h"
+%include "GeomAPI_Shape.h"
+%include "GeomAPI_Vertex.h"
 %include "GeomAPI_XY.h"
 %include "GeomAPI_XYZ.h"
index 4f7402cf0718e04e7243cba55343466bc480a5fc..806c443c9f1d932f3cd8dfa21ace4853d495d665 100644 (file)
   #include "GeomAlgoAPI_MakeShape.h"
   #include "GeomAlgoAPI_MakeShapeList.h"
   #include "GeomAlgoAPI_Movement.h"
+  #include "GeomAlgoAPI_Placement.h"
   #include "GeomAlgoAPI_PointBuilder.h"
   #include "GeomAlgoAPI_Prism.h"
   #include "GeomAlgoAPI_Revolution.h"
   #include "GeomAlgoAPI_Rotation.h"
   #include "GeomAlgoAPI_ShapeProps.h"
   #include "GeomAlgoAPI_SketchBuilder.h"
+  #include "GeomAlgoAPI_Tools.h"
 
   #include <memory>
   #include <string>
 %include "GeomAlgoAPI_MakeShape.h"
 %include "GeomAlgoAPI_MakeShapeList.h"
 %include "GeomAlgoAPI_Movement.h"
+%include "GeomAlgoAPI_Placement.h"
 %include "GeomAlgoAPI_PointBuilder.h"
 %include "GeomAlgoAPI_Prism.h"
 %include "GeomAlgoAPI_Revolution.h"
 %include "GeomAlgoAPI_Rotation.h"
 %include "GeomAlgoAPI_ShapeProps.h"
 %include "GeomAlgoAPI_SketchBuilder.h"
+%include "GeomAlgoAPI_Tools.h"
 
 %typemap(out) std::list< std::shared_ptr< GeomAPI_Shape > >::value_type & {
   $result = SWIG_NewPointerObj(SWIG_as_voidptr(new std::shared_ptr<GeomAPI_Shape>(*$1)), $descriptor(std::shared_ptr<GeomAPI_Shape> *), SWIG_POINTER_OWN | 0 );