Salome HOME
Issue #1664: In the Sketcher, add the function Split a segment:
[modules/shaper.git] / src / ModelGeomAlgo / ModelGeomAlgo_Point2D.h
index be1521bdc460313c56fb54362784d1b42d7d7099..826dde4a6d71917aee31fcd03478b16c59b62f90 100755 (executable)
@@ -21,6 +21,7 @@ class GeomDataAPI_Point2D;
 #include <memory>
 #include <string>
 #include <set>
+#include <map>
 
 
 namespace ModelGeomAlgo_Point2D {
@@ -68,7 +69,9 @@ namespace ModelGeomAlgo_Point2D {
                               const std::shared_ptr<GeomAPI_Pnt>& theOrigin,
                               const std::shared_ptr<GeomAPI_Dir>& theDirX,
                               const std::shared_ptr<GeomAPI_Dir>& theDirY,
-                              std::set<std::shared_ptr<GeomAPI_Pnt> >& thePoints);
+                              std::set<std::shared_ptr<GeomAPI_Pnt> >& thePoints,
+                              std::map<std::shared_ptr<GeomDataAPI_Point2D>,
+                                       std::shared_ptr<GeomAPI_Pnt> >& theAttributeToPoint);
 
   /// Finds projected point to the given shape line
   /// \param theBaseShape a shape of check