Salome HOME
Fix for some problems in the arc inversion and added a unit test for it
[modules/shaper.git] / src / ModelAPI / ModelAPI.i
index 6fd73dedba08d1c0fc98e94f641159c4fd032477..29c049f7abf24aa7bb09faab741e9ec7cde5af48 100644 (file)
@@ -172,3 +172,6 @@ template<class T1, class T2> std::shared_ptr<T1> shared_ptr_cast(std::shared_ptr
 %template(modelAPI_AttributeRefList)       shared_ptr_cast<ModelAPI_AttributeRefList, ModelAPI_Attribute>;
 %template(modelAPI_AttributeRefAttrList)   shared_ptr_cast<ModelAPI_AttributeRefAttrList, ModelAPI_Attribute>;
 %template(modelAPI_AttributeTables)        shared_ptr_cast<ModelAPI_AttributeTables, ModelAPI_Attribute>;
+
+// Geometry casts
+%template(shapeToEdge) shared_ptr_cast<GeomAPI_Edge, GeomAPI_Shape>;