Salome HOME
Add the GDML primitive "Cone Segment".
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI.i
index 8c9279226a17c8deafb28e56f7947354b3b5c756..3476e73f2ae05aca0d97685d961966b258b8c37e 100644 (file)
@@ -4,6 +4,9 @@
   #include "GeomAlgoAPI_swig.h"
 %}
 
+// import other modules
+%import "GeomAPI.i"
+
 // to avoid error on this
 #define GEOMALGOAPI_EXPORT
 
 %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_ConeSegment)
+%shared_ptr(GeomAlgoAPI_Copy)
+
 // all supported interfaces
 %include "GeomAlgoAPI_MakeShape.h"
 %include "GeomAlgoAPI_Boolean.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"
+%include "GeomAlgoAPI_Copy.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 );