1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: GeomDataAPI_swig.h
4 // Created: Dec 15, 2015
5 // Author: Sergey POKHODENKO
7 #ifndef SRC_GEOMDATAAPI_GEOMDATAAPI_SWIG_H_
8 #define SRC_GEOMDATAAPI_GEOMDATAAPI_SWIG_H_
10 #include "ModelAPI_swig.h"
12 #include "GeomDataAPI.h"
13 #include "GeomDataAPI_Point.h"
14 #include "GeomDataAPI_Dir.h"
15 #include "GeomDataAPI_Point2D.h"
21 template<class T> std::shared_ptr<T> castTo(std::shared_ptr<ModelAPI_Attribute> theObject)
23 return std::dynamic_pointer_cast<T>(theObject);
26 #endif /* SRC_GEOMDATAAPI_GEOMDATAAPI_SWIG_H_ */