Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5a3515
)
Make a set of curves accessible from the Python scripts.
author
Artem Zhidkov
<Artem.Zhidkov@opencascade.com>
Mon, 14 Sep 2020 16:11:21 +0000
(19:11 +0300)
committer
Artem Zhidkov
<Artem.Zhidkov@opencascade.com>
Mon, 14 Sep 2020 16:11:21 +0000
(19:11 +0300)
src/GeomAPI/GeomAPI.i
patch
|
blob
|
history
diff --git
a/src/GeomAPI/GeomAPI.i
b/src/GeomAPI/GeomAPI.i
index 70131cbeb2db0f16dc469c529945d41e5967685e..3e108a2592c03b5d92f5cdb56e1cd52486e45fad 100644
(file)
--- a/
src/GeomAPI/GeomAPI.i
+++ b/
src/GeomAPI/GeomAPI.i
@@
-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 -> {}