Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adaptation to new data structure
[modules/shaper.git]
/
src
/
GeomAPI
/
GeomAPI.i
diff --git
a/src/GeomAPI/GeomAPI.i
b/src/GeomAPI/GeomAPI.i
index 717c7d264ad4ded423606aaa3888e3f0f0add158..67d8297f7baa307eb1c14caacba98ca43a264dd8 100644
(file)
--- a/
src/GeomAPI/GeomAPI.i
+++ b/
src/GeomAPI/GeomAPI.i
@@
-1,10
+1,12
@@
/* GeomAPI.i */
%module GeomAPI
%{
/* GeomAPI.i */
%module GeomAPI
%{
- #include "
memory
"
+ #include "
boost/shared_ptr.hpp
"
#include "GeomAPI.h"
#include "GeomAPI_Interface.h"
#include "GeomAPI_Pnt.h"
#include "GeomAPI.h"
#include "GeomAPI_Interface.h"
#include "GeomAPI_Pnt.h"
+ #include "GeomAPI_Dir.h"
+ #include "GeomAPI_Pln.h"
#include "GeomAPI_Shape.h"
%}
#include "GeomAPI_Shape.h"
%}
@@
-14,15
+16,20
@@
// standard definitions
%include "typemaps.i"
%include "std_string.i"
// standard definitions
%include "typemaps.i"
%include "std_string.i"
-%include <std_shared_ptr.i>
+//%include <std_shared_ptr.i>
+%include <boost_shared_ptr.i>
// boost pointers
// %include <boost_shared_ptr.i>
%shared_ptr(GeomAPI_Interface)
%shared_ptr(GeomAPI_Pnt)
// boost pointers
// %include <boost_shared_ptr.i>
%shared_ptr(GeomAPI_Interface)
%shared_ptr(GeomAPI_Pnt)
+%shared_ptr(GeomAPI_Dir)
+%shared_ptr(GeomAPI_Pln)
%shared_ptr(GeomAPI_Shape)
// all supported interfaces
%include "GeomAPI_Interface.h"
%include "GeomAPI_Pnt.h"
%shared_ptr(GeomAPI_Shape)
// all supported interfaces
%include "GeomAPI_Interface.h"
%include "GeomAPI_Pnt.h"
+%include "GeomAPI_Dir.h"
+%include "GeomAPI_Pln.h"
%include "GeomAPI_Shape.h"
%include "GeomAPI_Shape.h"