#include "GeomDataAPI_Point.h"
#include "GeomDataAPI_Dir.h"
#include "GeomDataAPI_Point2D.h"
+
+ #include <memory>
+ #include <string>
+ #include <list>
template<class T> std::shared_ptr<T> castTo(std::shared_ptr<ModelAPI_Attribute> theObject)
{
}
%{
- #include "GeomAPI_Interface.h"
- #include "GeomAPI_Shape.h"
#include "ModelAPI.h"
#include "ModelAPI_Document.h"
#include "ModelAPI_Session.h"
#include "ModelAPI_ResultParameters.h"
#include "ModelAPI_ResultGroup.h"
#include "ModelAPI_Tools.h"
+
+ #include <memory>
+ #include <string>
template<class T1, class T2>
std::shared_ptr<T1> shared_ptr_cast(std::shared_ptr<T2> theObject)
// to avoid error on this
#define MODELAPI_EXPORT
-#define GEOMAPI_EXPORT
// standard definitions
%include "typemaps.i"
+%include "GeomAPI.i"
%include "std_string.i"
%include "std_list.i"
%include "std_shared_ptr.i"
// shared pointers
// For ModelAPI_ResultConstruction.shape()
-%shared_ptr(GeomAPI_Interface)
-%shared_ptr(GeomAPI_Shape)
%shared_ptr(ModelAPI_Document)
%shared_ptr(ModelAPI_Session)
%shared_ptr(ModelAPI_Plugin)
%shared_ptr(ModelAPI_ResultParameters)
// all supported interfaces
-%include "GeomAPI_Interface.h"
-%include "GeomAPI_Shape.h"
%include "ModelAPI_Document.h"
%include "ModelAPI_Session.h"
%include "ModelAPI_Plugin.h"