Salome HOME
Make a set of curves accessible from the Python scripts.
authorArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Mon, 14 Sep 2020 16:11:21 +0000 (19:11 +0300)
committerArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Mon, 14 Sep 2020 16:11:21 +0000 (19:11 +0300)
src/GeomAPI/GeomAPI.i

index 70131cbeb2db0f16dc469c529945d41e5967685e..3e108a2592c03b5d92f5cdb56e1cd52486e45fad 100644 (file)
@@ -169,6 +169,7 @@ template<class T1, class T2> std::shared_ptr<T1> shared_ptr_cast(std::shared_ptr
 %template(PointList) std::list<std::shared_ptr<GeomAPI_Pnt> >;
 %template(ShapeList) std::list<std::shared_ptr<GeomAPI_Shape> >;
 // std::set -> []
+%template(CurveSet) std::set<std::shared_ptr<GeomAPI_Curve>, GeomAPI_Curve::Comparator>;
 %template(ShapeSet) std::set<std::shared_ptr<GeomAPI_Shape>, GeomAPI_Shape::Comparator>;
 %template(OriShapeSet) std::set<std::shared_ptr<GeomAPI_Shape>, GeomAPI_Shape::ComparatorWithOri>;
 // std::map -> {}