Salome HOME
Task 2.3. Sketch Point created by intersectionPoints
[modules/shaper.git] / src / SketchAPI / SketchAPI_Sketch.h
index 5e7d902e8f6bc6b03528d2d883dc450c7b36ee06..aa58dc89edab2ea9fe68955450764eaa9dacf1e6 100644 (file)
@@ -125,11 +125,13 @@ public:
   /// Add intersection point
   SKETCHAPI_EXPORT
   std::shared_ptr<SketchAPI_IntersectionPoint>
-    addIntersectionPoint(const ModelHighAPI_Selection & theExternal);
+    addIntersectionPoint(const ModelHighAPI_Selection & theExternal,
+                         bool theKeepResult = false);
   /// Add point
   SKETCHAPI_EXPORT
   std::shared_ptr<SketchAPI_IntersectionPoint>
-    addIntersectionPoint(const std::string & theExternalName);
+    addIntersectionPoint(const std::string & theExternalName,
+                         bool theKeepResult = false);
 
   /// Add line
   SKETCHAPI_EXPORT